Manual:$wgNamespacesToBeSearchedHelp/es
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed completely in version <tvar name=ver>1.24.0</tvar>.</translate> |
<translate> Namespaces</translate>: $wgNamespacesToBeSearchedHelp | |
---|---|
Namespaces to be searched when user clicks the "Help" tab on Special:Search |
|
<translate> Introduced in version:</translate> | 1.16.0 (r50207) |
<translate> Removed in version:</translate> | 1.24.0 (Gerrit change 132965; git #1cb1ac62) |
<translate> Allowed values:</translate> | (véase más abajo) |
<translate> Default value:</translate> | (véase más abajo) |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Detalles
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
$wgNamespacesToBeSearchedHelp
should not be set in$wgNamespacesToBeSearchedDefault
.
- Otherwise it will display the NS Selector under "Content pages"
- 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.
- Otherwise clicking "Help and Project pages" takes you to "Advanced"
Valor predeterminado
$wgNamespacesToBeSearchedHelp = [
NS_PROJECT => true,
NS_HELP => true,
];