Lucas_Werkmeister_WMDE created this task. Lucas_Werkmeister_WMDE added projects: Wikidata, wdwb-tech-focus. Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION Most of `Language`’s static methods (`::factory`, `::fetchLanguageName`, etc.) were deprecated in MediaWiki 1.34 or 1.35. We should stop using them, and migrate to their replacement services (`LanguageFactory`, `LanguageNameUtils`, etc.), ideally with proper dependency injection. I could put a list of affected methods here, but I think the few non-deprecated public static methods that `Language` still has are probably not used by Wikibase anyways, so it seems simpler to codesearch Language:: <https://codesearch.wmcloud.org/search/?q=Language%3A%3A&files=%5C.php%24&repos=Extension:Wikibase> and work through that whole list (except `Language::class`). TASK DETAIL https://phabricator.wikimedia.org/T260340 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Lucas_Werkmeister_WMDE, Aklapper, Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, Pablo-WMDE, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs