Fix #8413 : document $wgNamespaceRobotPolicies better in LocalSettings.php
[lhc/web/wiklou.git] / includes / Article.php
index dd9178e..6b4f527 100644 (file)
@@ -632,6 +632,8 @@ class Article {
                if ( isset( $wgNamespaceRobotPolicies[$ns] ) ) {
                        $policy = $wgNamespaceRobotPolicies[$ns];
                } else {
+                       # The default policy. Dev note: make sure you change the documentation
+                       # in DefaultSettings.php before changing it.
                        $policy = 'index,follow';
                }
                $wgOut->setRobotpolicy( $policy );