diff --git a/includes/TemplateDataBlob.php b/includes/TemplateDataBlob.php index 88dffe1b..4debfc17 100644 --- a/includes/TemplateDataBlob.php +++ b/includes/TemplateDataBlob.php @@ -583,7 +583,8 @@ class TemplateDataBlob { return $text->$langCode; } - list( $userlangs, $sitelangs ) = Language::getFallbacksIncludingSiteLanguage( $langCode ); + list( $userlangs, $sitelangs ) = MediaWikiServices::getInstance()->getLanguageFallback() + ->getAllIncludingSiteLanguage( $langCode ); foreach ( $userlangs as $lang ) { if ( isset( $text->$lang ) ) {