thiemowmde added a subscriber: Lea_Lacroix_WMDE.
thiemowmde added a comment.

This issue keeps confusing our users. And indeed, as @adrianheine pointed out in the task description this is getting worse every time we add a new language code that does not show up in the suggester.

A temporary workaround could be to add the additional language codes to the list of suggested languages. These entries would only show the code, but no language name. That's obviously far from perfect, but much better than nothing. Have a look at the _javascript_ class wikibase.WikibaseContentLanguages. It currently simply returns the #universallanguageselector's language list, but excludes a few that are also excluded in the backend (see WikibaseRepo::getMonolingualTextLanguages). This means there is already some duplication going on in the backend and frontend! This duplication could either be expanded, or resolved by introducing a #mediawiki-resourceloader module that returns the list of languages allowed in monolingual values.


TASK DETAIL
https://phabricator.wikimedia.org/T124758

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: thiemowmde
Cc: Lea_Lacroix_WMDE, Amire80, Lokal_Profil, Lydia_Pintscher, Charlie_WMDE, Sjoerddebruin, C933103, Liuxinyu970226, Micru, Nikki, Jonas, thiemowmde, daniel, Tobi_WMDE_SW, adrianheine, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, JGirault, Wikidata-bugs, aude, Nikerabbit, Arrbee, santhosh, KartikMistry, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to