mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-12 01:08:55 +00:00
Update calls to WikibaseClient::getLanguageFallbackLabelDescriptionLookupFactory
Bug: T279084 Depends-On: Ibcd85906b7317e67175616a00a04333f9ffb7ca6 Change-Id: I18c1c4690dc9ec1a8adbb24268b2bff3f8331b2b
This commit is contained in:
parent
60935ddafd
commit
385d54f607
|
@ -145,8 +145,6 @@ class MathWikibaseConfig {
|
|||
*/
|
||||
public static function getDefaultMathWikibaseConfig() : MathWikibaseConfig {
|
||||
if ( !self::$defaultConfig ) {
|
||||
$wikibaseClient = WikibaseClient::getDefaultInstance();
|
||||
|
||||
$site = null;
|
||||
try {
|
||||
$site = WikibaseClient::getSite();
|
||||
|
@ -158,7 +156,7 @@ class MathWikibaseConfig {
|
|||
self::$defaultConfig = new MathWikibaseConfig(
|
||||
WikibaseClient::getEntityIdParser(),
|
||||
WikibaseClient::getStore()->getEntityRevisionLookup(),
|
||||
$wikibaseClient->getLanguageFallbackLabelDescriptionLookupFactory(),
|
||||
WikibaseClient::getLanguageFallbackLabelDescriptionLookupFactory(),
|
||||
$site
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue