Multichill created this task. Multichill added a subscriber: Multichill. Multichill added projects: Pywikibot-Wikidata, pywikibot-core.
TASK DESCRIPTION I wanted to play around with the new title (https://www.wikidata.org/wiki/Property:P1476) but I noticed we haven't implemented "Monolingual text" yet. The other datatypes at https://www.wikidata.org/wiki/Special:ListDatatypes seem to be implemented.
The data type has two parts: * a string * the language code (mandatory) See for example https://www.wikidata.org/w/index.php?title=Q62&diff=prev&oldid=18416...
Or in json:
"P1476": [ { "snaktype": "value", "property": "P1476", "datatype": "monolingualtext", "datavalue": { "value": { "text": "List of United States counties and county equivalents", "language": "en" }, "type": "monolingualtext" } } ] (from https://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q62&prop... )
We should probably create pywikibot.WbMonolingualtext for this.
TASK DETAIL https://phabricator.wikimedia.org/T85385
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Multichill Cc: Aklapper, Multichill, jayvdb, pywikipedia-bugs