Index: trunk/extensions/CommunityVoice/Modules/Ratings.php |
— | — | @@ -140,7 +140,7 @@ |
141 | 141 | $args, |
142 | 142 | $parser |
143 | 143 | ) { |
144 | | - global $wgUser, $wgTitle; |
| 144 | + global $wgUser, $wgTitle, $wgLang; |
145 | 145 | global $egCommunityVoiceResourcesPath; |
146 | 146 | // Disable caching |
147 | 147 | $parser->disableCache(); |
— | — | @@ -177,7 +177,7 @@ |
178 | 178 | 'cv_ratings_scale_' . $args['category'] . '_' . $args['title'] |
179 | 179 | ); |
180 | 180 | // Gets stats message |
181 | | - $stats = wfMsgExt( 'communityvoice-ratings-scale-stats', array( 'parsemag' ), round( $rating, 1 ), $totalVotes ); |
| 181 | + $stats = wfMsgExt( 'communityvoice-ratings-scale-stats', array( 'parsemag' ), $wgLang->formatnum( round( $rating, 1 ) ), $wgLang->formatnum( $totalVotes ) ); |
182 | 182 | |
183 | 183 | // Begins rating scale |
184 | 184 | $htmlOut = Html::open( |