[15:47:56] Hallo [15:48:00] Why is https://gerrit.wikimedia.org/r/c/mediawiki/services/function-schemata/+/889811/ needed? [15:48:27] Can't this information be taken from core MediaWiki? [15:48:55] I'll be quite unhappy about YET ANOTHER place in the MediaWiki universe to store language codes and names. [15:49:02] We already have way too many of them. [15:51:51] If this is REALLY necessary, I'll add this to the language adding guide, which I've been writing, but I'd be happier to have fewer places to store such info, not more. [15:52:16] (I refer to https://www.mediawiki.org/wiki/User:Amire80/Add_a_language . Not "officially" published yet, but mostly ready.) [17:50:47] We need to map to a ZID, that's why we have that [17:52:08] Can't it be automatically generated? Does it have to be stored separately? [17:52:51] If there's no choice, I guess I'll have to add it to the language adding procedure. [17:54:46] Maybe, but we didn't yet figure out how, that fulfilled our requirements. The current approach seems the simplest for now. [17:55:15] You want to file a task? [17:55:52] OK. [17:58:19] Thank you! [20:18:35] Oh, now that I look at it again, I see something odd... [20:18:36] https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/services/function-schemata/+/refs/heads/master/data/definitions/Z1272.json [20:18:59] This is Croatian. It says `"Z11K2": "Croatian"` and then `"Z11K2": "hrvatski"`. [20:19:09] Does it mean that it needs both the English name and the autonym? [20:19:31] There's something similar in https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/services/function-schemata/+/refs/heads/master/data/definitions/Z1005.json for Russian. [20:19:49] But for Kusaal, it says "Kusaal" in both places: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/services/function-schemata/+/refs/heads/master/data/definitions/Z1883.json [20:19:54] The native name is different. [20:20:58] And for https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/services/function-schemata/+/refs/heads/master/data/definitions/Z1680.json , it only has one name, which is one of the valid names of this language in English (there are other variants and it's not totally stable). [20:21:12] So what is the _correct_ thing to do, at least now? [20:23:22] I don't think there has to be a specific number of names. the ones which have `"Z11K1": "Z1002"` are english, the ones where `Z11K1` has a value the same as the filename are autonyms, and I assume there could be names in other languages too, with different zids