r100022 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100021‎ | r100022 | r100023 >
Date:11:12, 17 October 2011
Author:raymond
Status:ok
Tags:
Comment:
Run number of comments through formatNum() for better l10n
BTW: Should the revision no. converted too?
Modified paths:
  • /trunk/extensions/CodeReview/ui/CodeRevisionListView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/ui/CodeRevisionListView.php
@@ -430,7 +430,7 @@
431431 if ( $value ) {
432432 $special = SpecialPage::getTitleFor( 'Code', $this->mRepo->getName() . '/' . $row-> { $this->getDefaultSort() } );
433433 $special->setFragment( '#code-comments' );
434 - return $this->mView->skin->link( $special, htmlspecialchars( $value ) );
 434+ return $this->mView->skin->link( $special, $wgLang->formatNum( htmlspecialchars( $value ) ) );
435435 } else {
436436 return '-';
437437 }

Status & tagging log