Page MenuHomePhabricator

BabelUserLanguageLookup is in Wikibase, should be in Babel
Open, MediumPublic


The class BabelUserLanguageLookup is in the Wikibase extension, but should be in Babel. This creates a situation where each extension has to reimplement the code.

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Agreed, though there is a need ot integrate with ULS too: T104912.
Maybe core can provide the API and let ULS/Babel hook into its guesses, adding the information they have.

Change 350569 had a related patch set uploaded (by Amire80; owner: Amire80):
[mediawiki/extensions/Babel@master] Cache the result of getUserLanguageInfo()

Change 350569 merged by Nikerabbit:
[mediawiki/extensions/Babel@master] Cache the result of getUserLanguageInfo()

Nemo_bis triaged this task as Medium priority.Jun 5 2017, 7:05 AM
Nemo_bis removed a project: Patch-For-Review.

Mmm, so the code in Wikibase that reads from Babel can now be updated to use Babel's functions. See;3c475fe3dacf8dfbdeb22e58a7fb0b77b7bed4a8$352 as a starting point.