Help:Configuration parameter "$smwgResultFormatsFeatures"

Jump to: navigation, search
edit with form (experimental)

Title $smwgResultFormatsFeatures
Description A bit flag setting to control behaviour of some result formats or printers
Default setting
More information below.
Software Semantic MediaWiki
First version supported 2.5.0
Last version supported still available
Configuration Special Ask
Keyword Ask queries · separator parameter · template format

SMW_RF_TEMPLATE_OUTSEP1 (enabled by default) to resolve inconsistencies and ambiguity with the sep parameter2 in connection with format=template and expects that:

  • sep is used for the outer separation of content as in {{Template| ...}} sep {{Template|...}} sep ...
  • valuesep is provided as additional parameter to allow for multiple values within a {{Template|...}} to be separated

To retain behaviour from before3 2.5, it is suggested to (see the bit flags &, ~) use:

$GLOBALS['smwgResultFormatsFeatures'] = ( $GLOBALS['smwgResultFormatsFeatures'] & ~SMW_RF_TEMPLATE_OUTSEP );