r108366 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108365‎ | r108366 | r108367 >
Date:20:44, 8 January 2012
Author:reedy
Status:ok
Tags:
Comment:
Fix str_replace parameter order fail from r108364
Modified paths:
  • /trunk/phase3/languages/Language.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/Language.php
@@ -3846,7 +3846,7 @@
38473847 // For MB and bigger two decimal places are smarter
38483848 $round = 2;
38493849 }
3850 - $msg = str_replace( '$1', $messageKey, $sizes[$index] );
 3850+ $msg = str_replace( '$1', $sizes[$index], $messageKey );
38513851
38523852 $size = round( $size, $round );
38533853 $text = $this->getMessageFromDB( $msg );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r108364Followup r108363 for bug 33571...reedy20:40, 8 January 2012

Status & tagging log