https://bugzilla.wikimedia.org/show_bug.cgi?id=55795
Web browser: ---
Bug ID: 55795
Summary: Serialization of claim lists and snak lists for API
and JSON need to support grouped and ungrouped forms.
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l