English
$smwgEnabledSpecialPage
From semantic-mediawiki.org
Configuration parameter details: | |
Name | $smwgEnabledSpecialPage |
Description | Enables Semantic MediaWiki specific annotation and content processing for special pages |
Default setting | array( 'Ask' ); |
Software | Semantic MediaWiki |
Since version | |
Until version | 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 configuration parameter was introduced in Semantic MediaWiki 1.9.0.1
Default setting[edit]
$smwgEnabledSpecialPage = array( 'Ask' );
By default this setting is only enabled for special page "Ask".
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:
- Adding another special page, e.g. special page "RunQuery" provided by the Extension "Page Forms" extension
$smwgEnabledSpecialPage = array(
'Ask',
'RunQuery'
);
- Disabling this feature
$smwgEnabledSpecialPage = array( );
See also[edit]
- Task T60991 - information about the rationale for this parameter