Index: trunk/extensions/ProofreadPage/ProofreadPage.php |
— | — | @@ -746,6 +746,10 @@ |
747 | 747 | if ( preg_match( "/^$index_namespace:(.*?)(\/([0-9]*)|)$/", $parser->Title()->getPrefixedText() ) ) { |
748 | 748 | return ""; |
749 | 749 | } |
| 750 | + # abort too if the tag is in the page namespace |
| 751 | + if ( preg_match( "/^$page_namespace:(.*?)(\/([0-9]*)|)$/", $parser->Title()->getPrefixedText() ) ) { |
| 752 | + return ""; |
| 753 | + } |
750 | 754 | if( ! $index ) { |
751 | 755 | return '<strong class="error">' . wfMsgForContent( 'proofreadpage_index_expected' ) . '</strong>'; |
752 | 756 | } |