Manual:$wgExemptFromUserRobotsControl/pt-br
From Linux Web Expert
<translate> Robot policies</translate>: $wgExemptFromUserRobotsControl | |
---|---|
An array of namespace keys in which the __INDEX__ /__NOINDEX__ magic words will not function. |
|
<translate> Introduced in version:</translate> | 1.14.0 |
<translate> Removed in version:</translate> | <translate> still in use</translate> |
<translate> Allowed values:</translate> | (matriz de inteiros) |
<translate> Default value:</translate> | $wgContentNamespaces |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Detalhes
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.
Se definido como null, o padrão para $wgContentNamespaces
.
Exemplo:
$wgExemptFromUserRobotsControl = [ NS_MAIN, NS_TALK, NS_PROJECT ];
Ou, para desligá-lo totalmente:
$wgExemptFromUserRobotsControl = [];