Page MenuHomePhabricator

Make list of language codes available in JS
Closed, ResolvedPublic

Description

In order to implement the spelling variant field we need to retrieve the list of language codes from WikibaseLexeme.

Note: the list of language codes for the selector is currently coming from Wikibase Lexeme Term languages i.e. mediawiki + additional hardcoded Lexeme language codes. For this ticket we will just use the Wikibase Lexeme Term languages as the initial set of language codes. We will expand/change that in a later ticket.

Event Timeline

Change 773617 had a related patch set uploaded (by Guergana Tzatchkova; author: Guergana Tzatchkova):

[mediawiki/extensions/WikibaseLexeme@master] Make list of language codes available in JS

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

To test this patch config,wikibaseLexemeTermLanguages can be printed to see that the languages are correctly passed through the ConfigPlugin.

Change 773617 merged by jenkins-bot:

[mediawiki/extensions/WikibaseLexeme@master] Make list of language codes available in JS

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

Michael removed a project: Patch-For-Review.
Michael subscribed.

As far as I can tell, this is done.