Last modified: 2014-01-22 15:27:59 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 T57795, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55795 - Serialization of claim lists and snak lists for API and JSON need to support grouped and ungrouped forms.
Serialization of claim lists and snak lists for API and JSON need to support ...
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks: 55834 54267
  Show dependency treegraph
 
Reported: 2013-10-16 16:09 UTC by Daniel Kinzler
Modified: 2014-01-22 15:27 UTC (History)
4 users (show)

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


Attachments

Description Daniel Kinzler 2013-10-16 16:09:17 UTC
Currently, an entity's list of claims is in some cases represented as a flat list, and in other cases grouped by property ID. Similar confusion exists for the snak lists that make up qualifiers and references. 

To resolve this:
* There needs to be a serializer option for toggeling grouping (on different levels)
* Unserializers need to support both forms everywhere
* The overall JSON documentation needs to document both forms
* API modules as well as Special:EntityData need to clearly document which form is used when, where and for what.
* API modules may provide options to specify the desired output mode for claim lists and snak lists.
Comment 1 Gerrit Notification Bot 2014-01-10 13:28:41 UTC
Change 96268 had a related patch set uploaded by Addshore:
Add ungrouped list api parameter

https://gerrit.wikimedia.org/r/96268
Comment 2 Gerrit Notification Bot 2014-01-17 10:42:03 UTC
Change 96268 merged by jenkins-bot:
Add ungrouped list api parameter

https://gerrit.wikimedia.org/r/96268

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


Navigation
Links