Page MenuHomePhabricator

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


Currently, the ENTITY_SEARCH_CALLBACK(s) defined in the files listed below 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, possibly through RequestContext::getLanguage().


  • WikibaseRepo.entitytypes.php (Wikibase Extension)
  • WikibaseSearch.entitytypes.php (WikibaseCirrusSearch Extension)
  • WikibaseLexeme.entitytypes.php (WikibaseLexeme Extension)
  • WikibaseSearch.entitytypes.repo.php (WikibaseLexemeCirrusSearch Extension)