$smwgDecodeTextAnnotationWithStripMarker
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 |
|
||
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.
<ref>...</ref>
provided by extension "Cite" is not supported.
SMW_PARSER_UNSTRIP
to configuration parameter $smwgParserFeatures
Sets the behaviour of features related to text and annotation parsing2 prior to the release.
Default setting[edit]
$smwgDecodeTextAnnotationWithStripMarker = false;
This means that strip markers for datatype "Text"Holds text of arbitrary length are not allowed.
Changing the default setting[edit]
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[edit]
- Help page on configuration parameter
$smwgLinksInValues
Sets whether internal links in values for properties of datatype "Text" may be stored within property values - Help page on configuration parameter
$smwgParserFeatures
Sets the behaviour of features related to text and annotation parsing
References
- ^ Semantic MediaWiki: GitHub pull request gh:smw:794
- ^ Semantic MediaWiki: GitHub pull request gh:smw:2802