From: Andrew Garrett Date: Tue, 8 Sep 2009 23:32:56 +0000 (+0000) Subject: Add number formatting for numeric limits, regression in r55692 X-Git-Tag: 1.31.0-rc.0~39824 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/supprimer.php?a=commitdiff_plain;h=6be79efdd1525f6637015ddfc91fd2b1e6f5786d;p=lhc%2Fweb%2Fwiklou.git Add number formatting for numeric limits, regression in r55692 --- diff --git a/includes/Pager.php b/includes/Pager.php index 3a129e77fb..adfb14a706 100644 --- 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;