Fomafix added a subscriber: Fomafix. Fomafix closed this task as "Resolved". Fomafix claimed this task. Fomafix added a comment.
The API and the special pages like https://www.wikidata.org/wiki/Special:SetLabelDescriptionAliases check for existence of the language code. A label, a description or an alias with the language code `xyzzy` is not possible anymore. This is not done by `Language::isKnownLanguageTag` but by special function `hasLanguage` in `WikibaseContentLanguages`. Unwanted duplicate language codes like `als`/`gsw` or `be-x-old`/`be-tarask` are still possible. This is tracked in https://phabricator.wikimedia.org/T44396. I close this task. TASK DETAIL https://phabricator.wikimedia.org/T39459 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Fomafix Cc: Fomafix, Nikola_Smolenski, adrianheine, Wikidata-bugs, GPHemsley, siebrand, jeblad, Nemo_bis, SPQRobin, Tobi_WMDE_SW, He7d3r, Denny, matej_suchanek, Lydia_Pintscher, Nikerabbit, hoo, aude, Gryllida, Shizhao, Arrbee, Malyacko, P.Copp _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs