http://www.mediawiki.org/wiki/Special:Code/MediaWiki/92617
Revision: 92617 Author: ashley Date: 2011-07-20 10:12:50 +0000 (Wed, 20 Jul 2011) Log Message: ----------- SocialProfile: run the amount of points through Language::formatNum() to fix an i18n bug with the Finnish (fi) translation -- it was treating "1,000" (one thousand) as 1 Modified Paths: -------------- trunk/extensions/SocialProfile/UserProfile/UserProfilePage.php Modified: trunk/extensions/SocialProfile/UserProfile/UserProfilePage.php =================================================================== --- trunk/extensions/SocialProfile/UserProfile/UserProfilePage.php 2011-07-20 10:06:04 UTC (rev 92616) +++ trunk/extensions/SocialProfile/UserProfile/UserProfilePage.php 2011-07-20 10:12:50 UTC (rev 92617) @@ -850,7 +850,11 @@ if ( $wgUserLevels ) { $output .= '<div id="points-level"> <a href="' . $level_link->escapeFullURL() . '">' . - wfMsgExt( 'user-profile-points', 'parsemag', $stats_data['points'] ) . + wfMsgExt( + 'user-profile-points', + 'parsemag', + $wgLang->formatNum( $stats_data['points'] ) + ) . '</a> </div> <div id="honorific-level"> _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs