Mwjames has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/64087


Change subject: SpecialStatistics::getOtherStats use standard language instead 
of inContentLanguage
......................................................................

SpecialStatistics::getOtherStats use standard language instead of 
inContentLanguage

Use standard language instead of inContentLanguage.

Bug: 48542
Change-Id: Ib7d9cb5aa3051b5d602f7a0838425d92fc7a515f
---
M includes/specials/SpecialStatistics.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/87/64087/1

diff --git a/includes/specials/SpecialStatistics.php 
b/includes/specials/SpecialStatistics.php
index dbf2f0d..612ba84 100644
--- a/includes/specials/SpecialStatistics.php
+++ b/includes/specials/SpecialStatistics.php
@@ -298,7 +298,7 @@
 
                                // 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' ) );

-- 
To view, visit https://gerrit.wikimedia.org/r/64087
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib7d9cb5aa3051b5d602f7a0838425d92fc7a515f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Mwjames <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to