Help:Configuration parameter "$smwgEnabledSpecialPage"

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


Title $smwgEnabledSpecialPage
Description Enables Semantic MediaWiki specific annotation and content processing for special pages
Default setting
array( 'Ask' );
Software Semantic MediaWiki
First version supported 1.9.0
Last version supported still available
Configuration Installation
Keyword special page

$smwgEnabledSpecialPage is a configuration parameter that is used to enable specific annotation and content processing for special pages related to Semantic MediaWiki. The setting was introduced in Semantic MediaWiki 1.9.0.1

Default setting

$smwgEnabledSpecialPage = array( 'Ask' );

By default this setting is only enabled for special page "Ask".

Changing the default setting

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

Adding another special page, e.g. special page "RunQuery" provided by the Page Forms extension
$smwgEnabledSpecialPage = array(
        'Ask',
        'RunQuery'
);
Disabling this feature
$smwgEnabledSpecialPage = array( );

See also

  • Task T60991 - information about the rationale for this parameter