$smwgEnabledSpecialPage
From Linux Web Expert
Template:Interlanguagelink: en
Configuration parameter details: | |
Name | $smwgEnabledSpecialPage |
Description | Enables Semantic MediaWiki-specific annotation and content processing for special pages |
Default setting | [[Has default::[ 'Ask' ];]] |
Software | Semantic MediaWiki |
Since version | |
Until version | still available |
Configuration | Installation |
Keyword | special page |
__NOBREADCRUMBLINKS__
$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
$smwgEnabledSpecialPage = [
'Ask'
];
This feature is only enabled by default for special page "Ask". This feature is also quite useful for special page "ExpandTemplates" provided by MediaWiki itself, and for special page "RunQuery" provided by extension "Page Forms"No description was provided..
Changing the default setting
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 extension "Page Forms"No description was provided.
$smwgEnabledSpecialPage = [
'Ask',
'RunQuery'
];
- Disabling this feature
$smwgEnabledSpecialPage = [ ];
See also
- <translate> bug <tvar name=1>T60991</tvar></translate> - information about the rationale for this parameter