Currently, the onApiOpenSearchSuggest hook method calls 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, possibly through RequestContext::getLanguage().
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T279415 Remove calls to deprecated WikibaseRepo::getUserLanguage | |||
Open | None | T281725 WikibaseCirrusSearch: Remove calls to WikibaseRepo::getUserLanguage from Hooks.php |