Page MenuHomePhabricator

The data structure representing an entity's claims differs betweeen wbgetentities and wbsetclaim
Closed, DeclinedPublic

Description

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.


Version: unspecified
Severity: normal
Whiteboard: json, u=dev c=backend p=0
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=54313
https://bugzilla.wikimedia.org/show_bug.cgi?id=43025

Details

Reference
bz54267

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:57 AM
bzimport set Reference to bz54267.
bzimport added a subscriber: Unknown Object (MLST).

We should make a concerted effort to make the JSON we expose consistent.

The output of wbsetclaim is now consistent with the output of wbgetclaims and wbgetentities with the ungroupedlist option set.