jenkins-bot has submitted this change and it was merged.
Change subject: SpecialStatistics::getOtherStats use standard language instead
of inContentLanguage
......................................................................
SpecialStatistics::getOtherStats use standard language instead of
inContentLanguage
Use user language instead of inContentLanguage.
Bug: 48542
Change-Id: Ib7d9cb5aa3051b5d602f7a0838425d92fc7a515f
---
M includes/specials/SpecialStatistics.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Brian Wolff: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: Ib7d9cb5aa3051b5d602f7a0838425d92fc7a515f
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Mwjames <[email protected]>
Gerrit-Reviewer: Brian Wolff <[email protected]>
Gerrit-Reviewer: Mwjames <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits