Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -2800,9 +2800,14 @@ |
2801 | 2801 | $wgDefaultRobotPolicy = 'index,follow'; |
2802 | 2802 | |
2803 | 2803 | /** |
2804 | | - * Robot policies per namespaces. |
2805 | | - * The default policy is given above, the array is made of namespace |
2806 | | - * constants as defined in includes/Defines.php |
| 2804 | + * Robot policies per namespaces. The default policy is given above, the array |
| 2805 | + * is made of namespace constants as defined in includes/Defines.php. You can- |
| 2806 | + * not specify a different default policy for NS_SPECIAL: it is always noindex, |
| 2807 | + * nofollow. This is because a number of special pages (e.g., ListPages) have |
| 2808 | + * many permutations of options that display the same data under redundant |
| 2809 | + * URLs, so search engine spiders risk getting lost in a maze of twisty special |
| 2810 | + * pages, all alike, and never reaching your actual content. |
| 2811 | + * |
2807 | 2812 | * Example: |
2808 | 2813 | * $wgNamespaceRobotPolicies = array( NS_TALK => 'noindex' ); |
2809 | 2814 | */ |