jenkins-bot has submitted this change and it was merged. Change subject: Hygiene: Call static Language::fetchLanguageName() statically ......................................................................
Hygiene: Call static Language::fetchLanguageName() statically Change-Id: I2e6bbc270f85cd5ceb213a473102100c96ef7175 --- M includes/specials/SpecialMobileOptions.php 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Jdlrobson: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/specials/SpecialMobileOptions.php b/includes/specials/SpecialMobileOptions.php index 193e40d..a7f2bd7 100644 --- a/includes/specials/SpecialMobileOptions.php +++ b/includes/specials/SpecialMobileOptions.php @@ -162,7 +162,7 @@ $language = $this->getLanguage(); foreach ( Interwiki::getAllPrefixes( true ) as $interwiki ) { $code = $interwiki['iw_prefix']; - $name = $language->fetchLanguageName( $code ); + $name = Language::fetchLanguageName( $code, $language->getCode() ); if ( !$name ) { continue; } -- To view, visit https://gerrit.wikimedia.org/r/276644 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I2e6bbc270f85cd5ceb213a473102100c96ef7175 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/MobileFrontend Gerrit-Branch: master Gerrit-Owner: Siebrand <siebr...@kitano.nl> Gerrit-Reviewer: Jdlrobson <jrob...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits