r52746 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52745‎ | r52746 | r52747 >
Date:15:44, 3 July 2009
Author:thomasv
Status:deferred
Tags:
Comment:
minor
Modified paths:
  • /trunk/extensions/ProofreadPage/ProofreadPage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ProofreadPage/ProofreadPage.php
@@ -805,7 +805,7 @@
806806
807807 //replace deprecated template
808808 $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 );
810810 $editpage->textbox1 = $text;
811811
812812 //parse the page

Status & tagging log