Use formatNum for another number
authorRaimond Spekking <raymond@users.mediawiki.org>
Tue, 12 Aug 2008 11:38:17 +0000 (11:38 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Tue, 12 Aug 2008 11:38:17 +0000 (11:38 +0000)
includes/specials/SpecialPreferences.php

index f7a4a87..3c7416e 100644 (file)
@@ -626,7 +626,7 @@ class PreferencesForm {
 
                $userInformationHtml =
                        $this->tableRow( wfMsgHtml( 'username' ), htmlspecialchars( $wgUser->getName() ) ) .
-                       $this->tableRow( wfMsgHtml( 'uid' ), htmlspecialchars( $wgUser->getId() ) ) .
+                       $this->tableRow( wfMsgHtml( 'uid' ), $wgLang->formatNum( htmlspecialchars( $wgUser->getId() ) ) ).
 
                        $this->tableRow(
                                wfMsgExt( 'prefs-memberingroups', array( 'parseinline' ), count( $userEffectiveGroupsArray ) ),