Page MenuHomePhabricator

WikibaseMediaInfo: Remove calls to WikibaseRepo::getUserLanguage from search profile callbacks
Open, Needs TriagePublic

Description

Currently, the search profile callback functions defined in MediaSearchProfiles.php call the deprecated UserLanguage service from WikibaseRepo. In order to retire this service, we will need to find a way to obtain the language in a more appropriate way, either via RequestConext or by making using the globals directly rather than through Wikibase.