Nikki reopened this task as "Open". Nikki added a comment.
@Lydia_Pintscher I'm reopening this because it //could// get the code in another way, it just doesn't. It currently uses P218 <https://www.wikidata.org/wiki/Property:P218> which is //only// two-letter codes. However, MediaWiki uses IETF language tags (with a few exceptions that people are trying to fix), which are a mixture of two-letter codes (ISO 639-1), three-letter codes (ISO 639-3) and two/three letter codes followed by variant subtags (e.g. country, script). The two-letter codes are barely a third of our list, so it fails to match the majority of them. The data is there though - we have a property for ISO 639-3 codes (P220 <https://www.wikidata.org/wiki/Property:P220>) and for IETF language tags (P305 <https://www.wikidata.org/wiki/Property:P305>). Also, in my experience, the way it currently behaves is extremely confusing for users and has led to multiple people thinking we don't support a language when we actually do (as long as you select the language twice), so I would really like to see this fixed. TASK DETAIL https://phabricator.wikimedia.org/T284882 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Nikki Cc: Lydia_Pintscher, Bugreporter, waldyrious, Nikki, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, Mahir256, QZanden, LawExplorer, _jensen, rosalieper, Bodhisattwa, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org