Index: trunk/extensions/ProofreadPage/ProofreadPage.php |
— | — | @@ -711,6 +711,10 @@ |
712 | 712 | $to = $args['to']; |
713 | 713 | $header = $args['header']; |
714 | 714 | |
| 715 | + # abort if the tag is on an index page |
| 716 | + if ( preg_match( "/^$index_namespace:(.*?)(\/([0-9]*)|)$/", $wgTitle->getPrefixedText() ) ) { |
| 717 | + return ""; |
| 718 | + } |
715 | 719 | if( ! $index ) { |
716 | 720 | return '<strong class="error">' . wfMsgForContent( 'proofreadpage_index_expected' ) . '</strong>'; |
717 | 721 | } |