[Wikidata-bugs] [Maniphest] [Commented On] T217258: Language handling for adding citations with citoid in wikidata

2019-02-28 Thread Mvolz
Mvolz added a comment. On thinking on this more, I think we can be quite greedy with label; we can set it at least in the guessed text language, user language, and English. This is because we're dealing with publications published in a particular language when we create items, like books

[Wikidata-bugs] [Maniphest] [Commented On] T217258: Language handling for adding citations with citoid in wikidata

2019-02-27 Thread Mvolz
Mvolz added a comment. In T217258#4988550 , @Pintoch wrote: > If you need a mapping from ISO language codes to Wikimedia ones, Wikidata-Toolkit has such a mapping:

[Wikidata-bugs] [Maniphest] [Commented On] T217258: Language handling for adding citations with citoid in wikidata

2019-02-27 Thread Mvolz
Mvolz added a comment. Default fallbacks: monolingual snak -> misc code. label -> fall back on en or user language - or both? TASK DETAIL https://phabricator.wikimedia.org/T217258 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mvolz Cc:

[Wikidata-bugs] [Maniphest] [Commented On] T217258: Language handling for adding citations with citoid in wikidata

2019-02-27 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment. For monolingual text values, you can fall back to `und` (undetermined) if the language is not recognized. For the label, I think it would be acceptable to use the English label – it’s fairly common for works (especially works of art) to have the

[Wikidata-bugs] [Maniphest] [Commented On] T217258: Language handling for adding citations with citoid in wikidata

2019-02-27 Thread Pintoch
Pintoch added a comment. If you need a mapping from ISO language codes to Wikimedia ones, Wikidata-Toolkit has such a mapping: