Last modified: 2009-06-30 19:10:47 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T21450, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19450 - use formatnum for "Number of edits"
use formatnum for "Number of edits"
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
User preferences (Other open bugs)
unspecified
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-30 18:46 UTC by Umherirrender
Modified: 2009-06-30 19:10 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Umherirrender 2009-06-30 18:46:57 UTC
Please format "Number of edits" in Preferences.

Preferences.php:
 $defaultPreferences['editcount'] =
                array(
                    'type' => 'info',
                    'label-message' => 'prefs-edits',
-                   'default' => $user->getEditCount(),
+                   'default' => $wgLang->formatNum( $user->getEditCount() ),
                    'section' => 'personal/info',
                );

Thanks.
Comment 1 Raimond Spekking 2009-06-30 19:08:11 UTC
Fixed with r52607.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links