From: Daniel Cannon Date: Sun, 6 Apr 2008 08:11:42 +0000 (+0000) Subject: Use $wgLang->formatNum to make Nikerabbit happy :) X-Git-Tag: 1.31.0-rc.0~48592 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=7836b72b4e0aaf3b88f93f7ba7f5e83d7161fe9f;p=lhc%2Fweb%2Fwiklou.git Use $wgLang->formatNum to make Nikerabbit happy :) --- diff --git a/includes/SpecialRevisiondelete.php b/includes/SpecialRevisiondelete.php index 38a29f1c62..b9de9ac163 100644 --- a/includes/SpecialRevisiondelete.php +++ b/includes/SpecialRevisiondelete.php @@ -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";