From: mwjames Date: Thu, 16 May 2013 16:51:32 +0000 (+0900) Subject: SpecialStatistics::getOtherStats use standard language instead of inContentLanguage X-Git-Tag: 1.31.0-rc.0~19657^2 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=21e33bfd9a370d6ef65c8c6c20f9db7261adeb8a;p=lhc%2Fweb%2Fwiklou.git SpecialStatistics::getOtherStats use standard language instead of inContentLanguage Use user language instead of inContentLanguage. Bug: 48542 Change-Id: Ib7d9cb5aa3051b5d602f7a0838425d92fc7a515f --- 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' ) );