Page MenuHomePhabricator

Make Babel-proficiency info (en-2) disabled-level consistent
Closed, ResolvedPublic

Description

There should be at least 3 places where this info is used.

  1. Categories
  2. Rendered babel boxes
  3. Babel::getUserLanguages()

Currently if a proficiency level is set to false in wgBabelCategoryNames, (1) omits this level, (2) displays text for this level, (3) doesn't correctly return the level set in {{#babel: }} because it gets the related info from (1).

It looks more sane to have (2) and (3) always consistent, and it's now causing https://www.wikidata.org/w/index.php?title=Wikidata:Project_chat&oldid=61870744#Fallback_languages


Version: unspecified
Severity: normal

Details

Reference
bz52144

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:55 AM
bzimport set Reference to bz52144.
bzimport added a subscriber: Unknown Object (MLST).

Probably fixed by https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Babel/+/309937 and related, will properly test and close if fixed tomorrow.

Indeed appears to be resolved, since (3) now gets data from a source independent of (2).