Con­figu­ration para­meter "$smwgDecodeTextAnnotationWithStripMarker"

From semantic-mediawiki.org
Configuration parameter details:
Name $smwgDecodeTextAnnotationWithStripMarker
Description Sets whether strip markers for properties of datatype "Text" may be stored within property values
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

$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 and compatible with MW 1.27.0 - 1.30.x.1 but removed in favour of option SMW_PARSER_UNSTRIP to configuration parameter $smwgParserFeaturesSets the behaviour of features related to text and annotion 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 this configuration setting, 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

References

  1. ^  Semantic MediaWiki: GitHub pull request gh:smw:794
  2. ^  Semantic MediaWiki: GitHub pull request gh:smw:2802