dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add number formatting for numeric limits, regression in r55692
[lhc/web/wiklou.git]
/
includes
/
Pager.php
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;