dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c722a3
)
Use formatNum for pagesize
author
Raimond Spekking
<raymond@users.mediawiki.org>
Fri, 9 Mar 2007 18:26:33 +0000
(18:26 +0000)
committer
Raimond Spekking
<raymond@users.mediawiki.org>
Fri, 9 Mar 2007 18:26:33 +0000
(18:26 +0000)
includes/PageHistory.php
patch
|
blob
|
history
diff --git
a/includes/PageHistory.php
b/includes/PageHistory.php
index
635e14a
..
94b55ea
100644
(file)
--- 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 .= " <span class=\"history-size\">$stxt</span>";
}