Last modified: 2014-10-17 09:35:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T56267, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54267 - The data structure representing an entity's claims differs betweeen wbgetentities and wbsetclaim
The data structure representing an entity's claims differs betweeen wbgetenti...
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Wikidata bugs
json, u=dev c=backend p=0
:
Depends on: 55795
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-18 11:17 UTC by Daniel Kinzler
Modified: 2014-10-17 09:35 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Kinzler 2013-09-18 11:17:06 UTC
wbgetentities uses the XML tag "property", while in the output of operations that change entities, it's "claim" and "claims". There may be structural differences too (grouping by property), I havn't checked that.
Comment 1 Daniel Kinzler 2013-09-25 14:52:51 UTC
Bug 54313 is related
Comment 2 Daniel Kinzler 2013-10-30 08:45:47 UTC
We should make a concerted effort to make the JSON we expose consistent.
Comment 3 Daniel Kinzler 2014-10-17 09:35:24 UTC
The output of wbsetclaim is now consistent with the output of wbgetclaims and wbgetentities with the ungroupedlist option set.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links