Page MenuHomePhabricator

Use JSON serialization as coming from wbgetitem for wbsetitem
Closed, ResolvedPublic

Description

wbsetitem currently uses a JSON serialization of items for the data parameter that is slightly different (a bit more terse) than the export that one gets from wbgetitem. wbsetitem should support (and only support) the serialization wbgetitems gives (called "longform" by some). If "shortform" (the current form) is used, it should raise an error.


Version: unspecified
Severity: normal
Whiteboard: storypoints: 3

Details

Reference
bz39143

Event Timeline

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

This will be a breaking change for bot authors. They should be informed on time.

Verified in Wikidata demo time for sprint 15