Handbuch:$wgNamespaceRobotPolicies
Appearance
| Roboter-Richtlinien: $wgNamespaceRobotPolicies | |
|---|---|
| Allow customisation of robot policies on a per-namespace basis. |
|
| Eingeführt in Version: | 1.7.0 (r14559) |
| Entfernt in Version: | Weiterhin vorhanden |
| Erlaubte Werte: | (each entry indicates a namespace and a text string) |
| Standardwert: | [] |
| Andere Einstellungen: Alphabetisch | Nach Funktion | |
Details
Robot policies for namespaces, e.g. tag <meta name="robots" content="noindex,follow" />
z.B.
$wgNamespaceRobotPolicies[NS_TALK] = 'noindex';
The default policy is given by $wgDefaultRobotPolicy, the array is made of Namespace constants as defined in includes/Defines.php (see Handbuch:Namensraum) or the numeric identifier for the namespace.