From: Aryeh Gregor Date: Wed, 23 Jul 2008 17:53:27 +0000 (+0000) Subject: Documentation: note that $wgNamespaceRobotPolicies can't change the default for NS_SP... X-Git-Tag: 1.31.0-rc.0~46402 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=3a711565e4deed11c04d9fbbc9ef8a926878e7e3;p=lhc%2Fweb%2Fwiklou.git Documentation: note that $wgNamespaceRobotPolicies can't change the default for NS_SPECIAL. --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index ca8fe6810c..ba04ba56d5 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -2800,9 +2800,14 @@ $wgNoFollowNsExceptions = array(); $wgDefaultRobotPolicy = 'index,follow'; /** - * Robot policies per namespaces. - * The default policy is given above, the array is made of namespace - * constants as defined in includes/Defines.php + * Robot policies per namespaces. The default policy is given above, the array + * is made of namespace constants as defined in includes/Defines.php. You can- + * not specify a different default policy for NS_SPECIAL: it is always noindex, + * nofollow. This is because a number of special pages (e.g., ListPages) have + * many permutations of options that display the same data under redundant + * URLs, so search engine spiders risk getting lost in a maze of twisty special + * pages, all alike, and never reaching your actual content. + * * Example: * $wgNamespaceRobotPolicies = array( NS_TALK => 'noindex' ); */