Nikerabbit has uploaded a new change for review. https://gerrit.wikimedia.org/r/94863
Change subject: Use autonym for the initially selected language ...................................................................... Use autonym for the initially selected language For consistency with the frontend language selector Change-Id: If2e5716ffcbb9101b80922729f6c83645491b5f7 --- M specials/SpecialTwnMainPage.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TwnMainPage refs/changes/63/94863/1 diff --git a/specials/SpecialTwnMainPage.php b/specials/SpecialTwnMainPage.php index 6201846..b970321 100644 --- a/specials/SpecialTwnMainPage.php +++ b/specials/SpecialTwnMainPage.php @@ -488,7 +488,7 @@ $this->getOutput()->addModules( 'ext.translate.mainpage.signup' ); $languageCode = $this->getLanguage()->getCode(); - $languageName = TranslateUtils::getLanguageName( $languageCode ); + $languageName = TranslateUtils::getLanguageName( $languageCode, $languageCode ); $defaultLanguage = Xml::checkLabel( $languageName, -- To view, visit https://gerrit.wikimedia.org/r/94863 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If2e5716ffcbb9101b80922729f6c83645491b5f7 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/TwnMainPage Gerrit-Branch: master Gerrit-Owner: Nikerabbit <niklas.laxst...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits