From 7836b72b4e0aaf3b88f93f7ba7f5e83d7161fe9f Mon Sep 17 00:00:00 2001 From: Daniel Cannon Date: Sun, 6 Apr 2008 08:11:42 +0000 Subject: [PATCH] Use $wgLang->formatNum to make Nikerabbit happy :) --- includes/SpecialRevisiondelete.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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"; -- 2.20.1