https://bugzilla.wikimedia.org/show_bug.cgi?id=70082

--- Comment #10 from Jiří Sedláček <[email protected]> ---
(In reply to Daniel Kinzler from comment #6)
> There is no progress because the problem is unclear. As far as I can tell
> from the code, the behavior of the API did not change at all.
> 
> Please provide a link to an API call that now returns "changed" data,
> incompatible with pywikibot, and provide an example of how that data would
> have looked like before. Ideally, let me know what version of the software
> would have produced that output.

Hi Daniel,
there is in pywikibot functino, which in returned json finds key "entity[0]"
(key entity and its first occurence), in former version it is ok and this key
exists, now it is not.

there was "entity" at position of "type" etc. 

{"type":"item","id":"Q45930",
"labels":
  {"eo":{"language":"eo","value":"Lom"},...},
"descriptions":
  {"it":{"language":"it","value":"comune ceco"},...},
"aliases":
  {"cs":[{"language":"cs","value":"Lom u Blatn\u00e9"}]},
"claims":
  {"P373":[{"mainsnak":
 {"snaktype":"value",
  "property":"P373",
  "hash":"ef4e6e979c4ddabc6aa3f6c4a2914714ddb86d7b",
  "datavalue":{"value":"Lom (Strakonice District)",
  "type":"string"}
 },...,...
"snaks-order":["P402"]}]}]},
"sitelinks":
  {"eowiki":{"site":"eowiki","title":"Lom (distrikto
Strakonice)","badges":[]},...,
"badges":[]}}
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to