Use $wgLang->formatNum to make Nikerabbit happy :)
authorDaniel Cannon <amidaniel@users.mediawiki.org>
Sun, 6 Apr 2008 08:11:42 +0000 (08:11 +0000)
committerDaniel Cannon <amidaniel@users.mediawiki.org>
Sun, 6 Apr 2008 08:11:42 +0000 (08:11 +0000)
includes/SpecialRevisiondelete.php

index 38a29f1..b9de9ac 100644 (file)
@@ -1392,6 +1392,8 @@ class RevisionDeleter {
         * @param String $comment The comment associated with the change.
         */
        function getLogMessage ( $count, $nbitfield, $obitfield, $comment ) {
+               global $wgLang;
+
                $s = '';
                $changes = $this->getChanges( $nbitfield, $obitfield );
 
@@ -1412,7 +1414,8 @@ class RevisionDeleter {
                                $s = $changes[2][0];
                }
 
-               $ret = wfMsgExt ( 'revdelete-log-message', array( 'parsemag' ), $s, $count );
+               $ret = wfMsgExt ( 'revdelete-log-message', array( 'parsemag' ), 
+                       $s, $wgLang->formatNum($count) );
 
                if ( $comment )
                        $ret .= ": $comment";