Last modified: 2012-12-13 11:18:48 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 T41143, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39143 - Use JSON serialization as coming from wbgetitem for wbsetitem
Use JSON serialization as coming from wbgetitem for wbsetitem
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
storypoints: 3
:
Depends on:
Blocks: repoapi
  Show dependency treegraph
 
Reported: 2012-08-08 12:58 UTC by denny vrandecic
Modified: 2012-12-13 11:18 UTC (History)
1 user (show)

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


Attachments

Description denny vrandecic 2012-08-08 12:58:35 UTC
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.
Comment 1 denny vrandecic 2012-08-09 09:49:27 UTC
This will be a breaking change for bot authors. They should be informed on time.
Comment 2 Anja Jentzsch 2012-11-29 12:39:36 UTC
Verified in Wikidata demo time for sprint 15

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


Navigation
Links