r95707 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95706‎ | r95707 | r95708 >
Date:21:58, 29 August 2011
Author:robin
Status:ok
Tags:
Comment:
Format number in "Showing XXX messages". Thanks to Huji for reporting.
Modified paths:
  • /trunk/extensions/Translate/specials/SpecialTranslate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/specials/SpecialTranslate.php
@@ -292,6 +292,8 @@
293293 }
294294
295295 protected function doStupidLinks() {
 296+ global $wgLang;
 297+
296298 if ( $this->paging === null ) {
297299 return '';
298300 }
@@ -308,7 +310,7 @@
309311 $navigation = wfMsgExt(
310312 'translate-page-showing-all',
311313 array( 'parseinline' ),
312 - $total
 314+ $wgLang->formatNum( $total )
313315 );
314316 } else {
315317 $previous = wfMsg( 'translate-prev' );

Follow-up revisions

RevisionCommit summaryAuthorDate
r95715r95707 idem for other numbersrobin22:22, 29 August 2011

Status & tagging log