$smwgDecodeTextAnnotationWithStripMarker

From Linux Web Expert


Template:Interlanguagelink: en
Configuration parameter details:
Name $smwgDecodeTextAnnotationWithStripMarker
Description Property "Has description" (as page type) with input value "Sets whether strip markers for properties of datatype "Text" may be stored within property values" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
Default setting false
(Other) available settings
true

Allows to enable the storage of strip markers to properties of datatype "Text"Holds text of arbitrary length

Software Semantic MediaWiki
Since version
Until version
Configuration Interface settings
Keyword interface · annotation · displaying values


__NOBREADCRUMBLINKS__

$smwgDecodeTextAnnotationWithStripMarker is a configuration parameter that sets whether strip markers for properties of datatype "Text"Holds text of arbitrary length such as e.g. [[Has description::<pre>sample pre text</pre>]], [[Has description::<nowiki>{{#ask: HasStripMarkers }}<⁄nowiki>]] or [[Has description::<code><nowiki>{{#ask: HasStripMarkers }}<⁄nowiki></code>]] may be stored within property values.

The usage of <ref>...</ref> provided by extension "Cite" is not supported.
The configuration parameter was meant to be introduced in Semantic MediaWiki 3.0.0Released on an unknown date unknown versions of MediaWiki1 but removed in favour of option SMW_PARSER_UNSTRIP to configuration parameter $smwgParserFeaturesSets the behaviour of features related to text and annotation parsing2 prior to the release.

Default setting

$smwgDecodeTextAnnotationWithStripMarker = false;

This means that strip markers for datatype "Text"Holds text of arbitrary length are not allowed.

Changing the default setting

To modify the setting to this configuration parameter, add one of the following lines to your "LocalSettings.php" file after the enableSemantics() call:

Enable the storage of values containing strip markers
$smwgDecodeTextAnnotationWithStripMarker = true;

This means that strip markers for datatype "Text"Holds text of arbitrary length are allowed.

See also

#scite could not render a citation text for reference "gh:smw:794" because type "pullrequest" was not assigned to a template.

References

  1. ^ gh:smw:794 
  2. ^ gh:smw:2802