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:
cc09051
)
Add number formatting for numeric limits, regression in r55692
author
Andrew Garrett
<werdna@users.mediawiki.org>
Tue, 8 Sep 2009 23:32:56 +0000
(23:32 +0000)
committer
Andrew Garrett
<werdna@users.mediawiki.org>
Tue, 8 Sep 2009 23:32:56 +0000
(23:32 +0000)
includes/Pager.php
patch
|
blob
|
history
diff --git
a/includes/Pager.php
b/includes/Pager.php
index
3a129e7
..
adfb14a
100644
(file)
--- a/
includes/Pager.php
+++ b/
includes/Pager.php
@@
-884,7
+884,8
@@
abstract class TablePager extends IndexPager {
# will be numeric, or $limit => $text, in which case the $value
# will be a string.
if( is_int( $value ) ){
- $limit = $text = $value;
+ $limit = $value;
+ $text = $wgLang->formatNum( $limit );
} else {
$limit = $key;
$text = $value;