Fomafix created this task. Fomafix added a project: Wikibase-_javascript_-Api. Herald added a subscriber: Aklapper. Herald added a project: Wikidata. |
TASK DESCRIPTION
Current result on https://www.wikidata.org/w/api.php?format=json&formatversion=1&action="">
{"entities":{"-1":{"site":"dewiki","title":"This title does not exist \u00e4\u00f6\u00fc","missing":""}},"success":1}
Current result on https://www.wikidata.org/w/api.php?format=json&formatversion=2&action="">
{"entities":{"-1":{"site":"dewiki","title":"This title does not exist äöü","missing":""}},"success":1}formatversion=2 uses the UTF-8 encoding instead of the JSON string escaping for Unicode characters but not the modern JSON syntax like "missing":true instead of "missing":"".
Compare the core API changes from formatversion=1 https://www.wikidata.org/w/api.php?format=json&formatversion=1&action="">
{"batchcomplete":"","query":{"pages":{"-1":{"ns":0,"title":"This title does not exist \u00e4\u00f6\u00fc","missing":""}}}}to formatversion=2 https://www.wikidata.org/w/api.php?format=json&formatversion=2&action="">
{"batchcomplete":true,"query":{"pages":[{"ns":0,"title":"This title does not exist äöü","missing":true}]}}
TASK DETAIL
EMAIL PREFERENCES
To: Fomafix
Cc: Aklapper, Fomafix, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331
Cc: Aklapper, Fomafix, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs