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

From semantic-mediawiki.org
Jump to: navigation, search
edit with form


Configuration parameter details:
Title $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 still available
Configuration Interface settings · Facts display
Keyword interface settings

$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 setting was introduced in Semantic MediaWiki 3.0.0Released on an unknown date and compatible with MW 1.27.0 - 1.30.x..1

The usage of <ref>...</ref> provided by extension "Cite" is not supported.

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