Page MenuHomePhabricator

Make lexeme language codes inherit from Wikibase default terms languages, not MediaWiki content languages
Open, Needs TriagePublic

Description

The supported lexicographical languages are currently defined (in LexemeTermLanguages.php) as the MediaWiki content languages plus a hard-coded set of additional language codes (defined in WikibaseLexeme.mediawiki-services.php). However, the expectation of users is that any language code that is available for Wikibase terms (Item labels etc.) is also available for Lexemes; the base of the Lexeme languages should therefore be the Wikibase terms languages (WikibaseContentLanguages::getDefaultTermsLanguages() – the MediaWiki content languages plus a hard-coded list) rather than the MediaWiki content languages.