From: Raimond Spekking Date: Fri, 9 Mar 2007 18:26:33 +0000 (+0000) Subject: Use formatNum for pagesize X-Git-Tag: 1.31.0-rc.0~53826 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=88f25cb132dc047b1dbdeaa02c43277ee7bd5b71;p=lhc%2Fweb%2Fwiklou.git Use formatNum for pagesize --- diff --git a/includes/PageHistory.php b/includes/PageHistory.php index 635e14a940..94b55eab47 100644 --- a/includes/PageHistory.php +++ b/includes/PageHistory.php @@ -177,7 +177,7 @@ class PageHistory { * @return string HTML output for the row */ function historyLine( $row, $next, $counter = '', $notificationtimestamp = false, $latest = false, $firstInList = false ) { - global $wgUser; + global $wgUser, $wgLang; $rev = new Revision( $row ); $rev->setTitle( $this->mTitle ); @@ -224,7 +224,7 @@ class PageHistory { if ($size == 0) $stxt = wfMsgHtml('historyempty'); else - $stxt = wfMsgHtml('historysize', $size); + $stxt = wfMsgHtml('historysize', $wgLang->formatNum( $size ) ); $s .= " $stxt"; }