From 6be79efdd1525f6637015ddfc91fd2b1e6f5786d Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Tue, 8 Sep 2009 23:32:56 +0000 Subject: [PATCH] Add number formatting for numeric limits, regression in r55692 --- includes/Pager.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.20.1