Page MenuHomePhabricator

[Task] DataModelSerialization: option to force maps to lists, if needed
Closed, InvalidPublic

Description

For some output formats (in particular, XML as generated by ApiFormat), ID-based maps are problematic, and should be replaced by plain lists (with a tag name meta-marker set, see T78652).

NOTE: Before implementing this, first investigate whether this is still needed with the overhauled ApiResult class. Perhaps just having the meta-marker set is sufficient.

Related Objects

StatusAssignedTask
Declineddchen
OpenNone
OpenNone
DuplicateNone
OpenNone
ResolvedAbit
OpenNone
DuplicateNone
OpenNone
OpenNone
OpenNone
DuplicateNone
InvalidLydia_Pintscher
OpenNone
OpenNone
OpenNone
OpenNone
StalledNone
ResolvedBene
OpenNone
ResolvedJanZerebecki
OpenNone
OpenNone
Resolvedthiemowmde
OpenNone
DeclinedBene
ResolvedBene
ResolvedBene
ResolvedBene
ResolvedAddshore
OpenNone
InvalidNone
Resolveddaniel
ResolvedBene
DeclinedBene

Event Timeline

daniel created this task.May 12 2015, 1:44 PM
daniel raised the priority of this task from to High.
daniel updated the task description. (Show Details)
daniel added subscribers: Bene, Wikidata-bugs, Tobi_WMDE_SW and 4 others.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 12 2015, 1:44 PM
JanZerebecki lowered the priority of this task from High to Normal.May 16 2015, 5:19 PM
JanZerebecki set Security to None.

This blocks "WikibaseDataModelSerialization with what we do with WikibaseLib" and although we have totally removed the Lib Serialization I would not consider this task complete in regards to WikibaseDataModelSerialization..

Still looking into potentially 1 change in core for our use case to remove keys and shove them somewhere else in an element.
Then after a breaking change to our XML output (as they are different anyway) we could probably use the same serialization for all formats...

Jonas renamed this task from DataModelSerialization: option to force maps to lists, if needed to [Task] DataModelSerialization: option to force maps to lists, if needed.Aug 15 2015, 12:17 PM
Lydia_Pintscher closed this task as Invalid.Apr 23 2017, 4:51 PM