Manual:$wgExemptFromUserRobotsControl
Robot policies: $wgExemptFromUserRobotsControl | |
---|---|
An array of namespace keys in which the __INDEX__ /__NOINDEX__ magic words will not function. |
|
Introducido en la versión: | 1.14.0 |
Eliminado en la versión: | aún se usa |
Valores permitidos: | (array of integers) |
Valor predeterminado: | $wgContentNamespaces |
Otras configuraciones: Alfabéticamente | Por Función |
Detalles
An array of namespace keys in which the __INDEX__
/__NOINDEX__
magic words will not function, so users can't decide whether pages in that namespace are indexed by search engines.
If set to null, default to $wgContentNamespaces
.
Ejemplo:
$wgExemptFromUserRobotsControl = [ NS_MAIN, NS_TALK, NS_PROJECT ];
Or, to switch it off entirely:
$wgExemptFromUserRobotsControl = [];