Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgNamespaceRobotPolicies and the translation is 50% complete.

Other languages:
Deutsch • ‎English • ‎español • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎Nederlands • ‎polski • ‎português • ‎português do Brasil • ‎中文
Robot policies: $wgNamespaceRobotPolicies
Allow customisation of robot policies on a per-namespace basis.
Introduced in version: 1.7.0 (r14559)
Removed in version: still in use
Allowed values: (each entry indicates a namespace and a text string)
Default value: array()
Other settings: Alphabetical | By function


Robot policies for namespaces, e.g. tag <meta name="robots" content="noindex,follow" />

p. ej.

$wgNamespaceRobotPolicies = array( NS_TALK => 'noindex' );

The default policy is given by $wgDefaultRobotPolicyManual:$wgDefaultRobotPolicy, the array is made of namespace constants as defined in includes/Defines.php (see Manual:Espacio de nombresManual:Namespace).

Véase también

Política de robotsManual:Robot policy Archivos: robots.txtManual:Robots.txt
Atributos: nofollowManual:NofollownoindexManual:Noindex
Preferencias de configuración: $wgArticleRobotPoliciesManual:$wgArticleRobotPolicies$wgDefaultRobotPolicyManual:$wgDefaultRobotPolicy$wgExemptFromUserRobotsControlManual:$wgExemptFromUserRobotsControl$wgNamespaceRobotPoliciesManual:$wgNamespaceRobotPolicies