From: Raimond Spekking Date: Tue, 30 Jun 2009 19:06:34 +0000 (+0000) Subject: * (bug 19450) Use formatNum for "Number of edits" in Special:Preferences X-Git-Tag: 1.31.0-rc.0~41163 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=526a29459dda39d5ee7a5d9fcfe65e112c8e2d7d;p=lhc%2Fweb%2Fwiklou.git * (bug 19450) Use formatNum for "Number of edits" in Special:Preferences --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 70664737b9..145cb10ca9 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -217,6 +217,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Attempts to restrict reading of pages while anonymous viewing is allowed via extensions not using the userCan hook and via $wgRevokePermissions now work. * (bug 8445) Multiple-character search terms are now handled properly for Chinese +* (bug 19450) Use formatNum for "Number of edits" in Special:Preferences == API changes in 1.16 == diff --git a/includes/Preferences.php b/includes/Preferences.php index 013e3da9b3..9ffe9c7126 100644 --- a/includes/Preferences.php +++ b/includes/Preferences.php @@ -134,7 +134,7 @@ class Preferences { array( 'type' => 'info', 'label-message' => 'prefs-edits', - 'default' => $user->getEditCount(), + 'default' => $wgLang->formatNum( $user->getEditCount() ), 'section' => 'personal/info', );