From 21e33bfd9a370d6ef65c8c6c20f9db7261adeb8a Mon Sep 17 00:00:00 2001 From: mwjames Date: Fri, 17 May 2013 01:51:32 +0900 Subject: [PATCH] SpecialStatistics::getOtherStats use standard language instead of inContentLanguage Use user language instead of inContentLanguage. Bug: 48542 Change-Id: Ib7d9cb5aa3051b5d602f7a0838425d92fc7a515f --- includes/specials/SpecialStatistics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialStatistics.php b/includes/specials/SpecialStatistics.php index dbf2f0d99f..612ba84eca 100644 --- a/includes/specials/SpecialStatistics.php +++ b/includes/specials/SpecialStatistics.php @@ -298,7 +298,7 @@ class SpecialStatistics extends SpecialPage { // Collect all items that belong to the same header foreach ( $items as $key => $value ) { - $name = $this->msg( $key )->inContentLanguage()->parse(); + $name = $this->msg( $key )->parse(); $number = htmlspecialchars( $value ); $return .= $this->formatRow( $name, $this->getLanguage()->formatNum( $number ), array( 'class' => 'mw-statistics-hook' ) ); -- 2.20.1