Last modified: 2012-12-13 11:18:46 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 T41142, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39142 - Add a parameter replace to wbsetitem that allows to completely set the item
Add a parameter replace to wbsetitem that allows to completely set the item
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Wikidata bugs
storypoints: 2
: easy
Depends on:
Blocks: repoapi
  Show dependency treegraph
 
Reported: 2012-08-08 12:54 UTC by denny vrandecic
Modified: 2012-12-13 11:18 UTC (History)
2 users (show)

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


Attachments

Description denny vrandecic 2012-08-08 12:54:39 UTC
Add a parameter reset to the wbsetitem module in the API. If true, the item is completely replaced by the payload of the call, i.e. the data parameter, and does not augment an existing item as it does now.
Comment 1 denny vrandecic 2012-08-09 09:46:56 UTC
Name it not reset but "replace"
Comment 2 jeblad 2012-08-17 13:48:48 UTC
Accidently called "clear"!
Comment 3 Anja Jentzsch 2012-11-29 12:39:34 UTC
Verified in Wikidata demo time for sprint 13

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


Navigation
Links