Multichill added a comment.

  Magnus ran into this and this is very confusing and inconsistent. The longer 
we wait with fixing this, the more effort it will cost. Example 
https://commons.wikimedia.org/w/api.php?action=wbgetentities&ids=M27401711 uses 
"statements" as the key, but we expect "claims" as the key, like 
https://commons.wikimedia.org/w/api.php?action=wbgetentities&ids=Q422341 . This 
is also consistent with the api calls like 
https://commons.wikimedia.org/w/api.php?action=help&modules=wbcreateclaim , 
https://commons.wikimedia.org/w/api.php?action=wbgetclaims&entity=M27401711 , 
https://commons.wikimedia.org/w/api.php?action=help&modules=wbremoveclaims and 
https://commons.wikimedia.org/w/api.php?action=help&modules=wbsetclaim
  
  By the way, I noticed another difference: The imageinfo output doesn't 
contain the line "datatype": "wikibase-item". Not sure if this is related or 
not?

TASK DETAIL
  https://phabricator.wikimedia.org/T149410

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Multichill
Cc: Ramsey-WMF, Keegan, Multichill, Magnus, Addshore, matthiasmullie, Aklapper, 
Ladsgroup, aude, Lydia_Pintscher, thiemowmde, daniel, hoo, darthmon_wmde, 
Nandana, JKSTNK, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Wikidata-bugs, Ricordisamoa, Jdforrester-WMF, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to