Index: trunk/extensions/ProofreadPage/ProofreadPage.php |
— | — | @@ -805,7 +805,7 @@ |
806 | 806 | |
807 | 807 | //replace deprecated template |
808 | 808 | $text = $editpage->textbox1; |
809 | | - $text = preg_replace( "/\{\{PageQuality\|(0|1|2|3|4)\|(.*?)\}\}/is", "<pagequality level=\"\\1\" user=\"\\2\" />", $text ); |
| 809 | + $text = preg_replace( "/\{\{PageQuality\|(0|1|2|3|4)(|\|(.*?))\}\}/is", "<pagequality level=\"\\1\" user=\"\\3\" />", $text ); |
810 | 810 | $editpage->textbox1 = $text; |
811 | 811 | |
812 | 812 | //parse the page |