Index: trunk/phase3/includes/Article.php |
— | — | @@ -850,6 +850,10 @@ |
851 | 851 | wfProfileOut( __METHOD__ ); |
852 | 852 | return; |
853 | 853 | } |
| 854 | + |
| 855 | + # For ?curid=x urls, disallow indexing |
| 856 | + if( $wgRequest->getInt('curid') ) |
| 857 | + $wgOut->setRobotPolicy( 'noindex,follow' ); |
854 | 858 | |
855 | 859 | # We're looking at an old revision |
856 | 860 | if( !empty( $oldid ) ) { |