Index: branches/wmf-deployment/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 | } |
Property changes on: branches/wmf-deployment/extensions/ProofreadPage |
___________________________________________________________________ |
Name: svn:mergeinfo |
718 | 722 | - /branches/REL1_15/phase3/extensions/ProofreadPage:51646 |
/trunk/extensions/ProofreadPage:56207,56209,56296,56333,56355,56763-56882 |
/trunk/phase3/extensions/ProofreadPage:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350 |
719 | 723 | + /branches/REL1_15/phase3/extensions/ProofreadPage:51646 |
/trunk/extensions/ProofreadPage:56207,56209,56296,56333,56355,56763-56882,56899 |
/trunk/phase3/extensions/ProofreadPage:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350 |