Manual:$wgNamespacesToBeSearchedHelp
From MediaWiki.org
| Namespaces: $wgNamespacesToBeSearchedHelp | |
|---|---|
| Namespaces to be searched when user clicks the "Help" tab on Special:Search |
|
| Introduced in version: | 1.16.0 (r50207) |
| Removed in version: | still in use |
| Allowed values: | (see below) |
| Default value: | (see below) |
Other settings: Alphabetical | By Function
[edit] Details
Namespaces to be searched when user clicks the "Help" tab on Special:Search with the new search interface ($wgUseOldSearchUI = false;).
Same format as $wgNamespacesToBeSearchedDefault.
To have a working search header you have to take care of a few things:
- Namespaces you set in
$wgNamespacesToBeSearchedHelpshould not be set in$wgNamespacesToBeSearchedDefault. - The order of the set namespaces in the array is important! Be sure to set them in the order of the namespace number. So e.g. not Help before Project.
[edit] Default value
$wgNamespacesToBeSearchedHelp = array( NS_PROJECT => true, NS_HELP => true, );