r69937 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69936‎ | r69937 | r69938 >
Date:10:20, 26 July 2010
Author:reedy
Status:ok
Tags:
Comment:
Followup r69933

Use $wgLang->formatNum()
Modified paths:
  • /trunk/extensions/CodeReview/ui/CodeAuthorListView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/ui/CodeAuthorListView.php
@@ -8,11 +8,11 @@
99 }
1010
1111 function execute() {
12 - global $wgOut;
 12+ global $wgOut, $wgLang;
1313 $authors = $this->mRepo->getAuthorList();
1414 $repo = $this->mRepo->getName();
1515 $text = wfMsg( 'code-authors-text' ) . "\n\n";
16 - $text .= '<strong>' . wfMsg( 'code-author-total', count( $authors ) ) . "</strong>\n";
 16+ $text .= '<strong>' . wfMsg( 'code-author-total', $wgLang->formatNum( count( $authors ) ) ) . "</strong>\n";
1717 foreach ( $authors as $committer ) {
1818 if ( $committer ) {
1919 $text .= "* [[Special:Code/$repo/author/$committer|$committer]]";

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r69933Display Total number of authors on Special:Code/repo/authorreedy08:12, 26 July 2010

Status & tagging log