From 526a29459dda39d5ee7a5d9fcfe65e112c8e2d7d Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Tue, 30 Jun 2009 19:06:34 +0000 Subject: [PATCH] * (bug 19450) Use formatNum for "Number of edits" in Special:Preferences --- RELEASE-NOTES | 1 + includes/Preferences.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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', ); -- 2.20.1