thiemowmde added a project: I18n.
thiemowmde added a comment.

I understand MediaWiki core does not maintain translations for certain codes that represent a family of languages. "bh" falls back to "bho", and "no" falls back to "nb": https://phabricator.wikimedia.org/source/mediawiki/browse/master/includes/DefaultSettings.php;13ffedf7278942d810514cb88da54fff97b23617$2889.

Note these are fallbacks, not aliases. Wikibase can not silently change the "no" label a user entered to "nb". All we could do is block "no". But what would be the benefit of that? Currently Wikibase users are free to add labels, descriptions, and aliases with all three codes "nb", "nn", and "no". Even if "no" is a macro language, how does it hurt to have labels with this code? Do the more specific "nb" and "nn" labels become inaccessible just because somebody added an "no" label? Do "no" labels become inaccessible the moment a more specific label exists?

As far as I understand the situation "no" should be added to Wikibase's fallback chain algorithm: "nb" → "no" → "en", as well as "nn" → "no" → "en". At the moment these chains are "nb" → "en" and "nn" → "en", and "no" also becomes "nb" → "en" (all derived from MediaWiki core).


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

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

To: thiemowmde
Cc: thiemowmde, Lydia_Pintscher, Aklapper, jeblad, jhsoby, GoranSMilovanovic, QZanden, MuhammadShuaib, Izno, LNDDYL, Psychoslave, Wikidata-bugs, aude, Gryllida, Shizhao, Arrbee, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to