Jump to content

Handbuch:$wgExemptFromUserRobotsControl

From mediawiki.org
This page is a translated version of the page Manual:$wgExemptFromUserRobotsControl and the translation is 38% complete.
Roboter-Richtlinien: $wgExemptFromUserRobotsControl
An array of namespace keys in which the __INDEX__/__NOINDEX__ magic words will not function.
Eingeführt in Version:1.14.0
Entfernt in Version:Weiterhin vorhanden
Erlaubte Werte:(array of integers)
Standardwert:$wgContentNamespaces

Details

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 .

Beispiel:

$wgExemptFromUserRobotsControl = [ NS_MAIN, NS_TALK, NS_PROJECT ];

Or, to switch it off entirely:

$wgExemptFromUserRobotsControl = [];