r47663 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47662‎ | r47663 | r47664 >
Date:14:33, 22 February 2009
Author:nikerabbit
Status:ok
Tags:
Comment:
* Correct case for formatNum
Modified paths:
  • /trunk/extensions/CommunityVoice/Modules/Ratings.php (modified) (history)
  • /trunk/phase3/includes/specials/SpecialMovepage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialMovepage.php
@@ -515,7 +515,7 @@
516516 return;
517517 }
518518
519 - $out->addWikiMsg( 'movesubpagetext', $wgLang->formatnum( $count ) );
 519+ $out->addWikiMsg( 'movesubpagetext', $wgLang->formatNum( $count ) );
520520 $skin = $wgUser->getSkin();
521521 $out->addHTML( "<ul>\n" );
522522
Index: trunk/extensions/CommunityVoice/Modules/Ratings.php
@@ -177,7 +177,7 @@
178178 'cv_ratings_scale_' . $args['category'] . '_' . $args['title']
179179 );
180180 // Gets stats message
181 - $stats = wfMsgExt( 'communityvoice-ratings-scale-stats', array( 'parsemag' ), $wgLang->formatnum( round( $rating, 1 ) ), $wgLang->formatnum( $totalVotes ) );
 181+ $stats = wfMsgExt( 'communityvoice-ratings-scale-stats', array( 'parsemag' ), $wgLang->formatNum( round( $rating, 1 ) ), $wgLang->formatnum( $totalVotes ) );
182182
183183 // Begins rating scale
184184 $htmlOut = Html::open(

Status & tagging log