* (bug 19450) Use formatNum for "Number of edits" in Special:Preferences
authorRaimond Spekking <raymond@users.mediawiki.org>
Tue, 30 Jun 2009 19:06:34 +0000 (19:06 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Tue, 30 Jun 2009 19:06:34 +0000 (19:06 +0000)
RELEASE-NOTES
includes/Preferences.php

index 7066473..145cb10 100644 (file)
@@ -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 ==
 
index 013e3da..9ffe9c7 100644 (file)
@@ -134,7 +134,7 @@ class Preferences {
                                array(
                                        'type' => 'info',
                                        'label-message' => 'prefs-edits',
-                                       'default' => $user->getEditCount(),
+                                       'default' => $wgLang->formatNum( $user->getEditCount() ),
                                        'section' => 'personal/info',
                                );