Page MenuHomePhabricator

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

Description

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

StatusAssignedTask
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenPginer-WMF
OpenNone
OpenNone
OpenAmire80
ResolvedAmire80
OpenNone
OpenNone
ResolvedAmire80
ResolvedAmire80
ResolvedKartikMistry
Resolvedsanthosh
ResolvedKartikMistry
ResolvedAmire80
ResolvedAmire80
ResolvedAmire80
ResolvedEsanders
ResolvedNikerabbit
OpenNone
OpenNone
ResolvedArrbee
OpenAmire80
OpenNone
ResolvedAmire80
OpenNone
OpenNone
StalledNone
ResolvedPetar.petkovic
ResolvedPetar.petkovic
OpenNone
ResolvedAmire80
OpenNone
OpenNone

Event Timeline

jeblad created this task.Oct 13 2016, 5:52 AM
Restricted Application added a project: Wikidata. · View Herald TranscriptOct 13 2016, 5:52 AM
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()

https://gerrit.wikimedia.org/r/350569

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

https://gerrit.wikimedia.org/r/350569

Nemo_bis triaged this task as Normal 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 https://phabricator.wikimedia.org/diffusion/EBAB/browse/master/Babel.class.php;3c475fe3dacf8dfbdeb22e58a7fb0b77b7bed4a8$352 as a starting point.

Restricted Application added a subscriber: PokestarFan. · View Herald TranscriptAug 3 2017, 10:51 AM