[editEntity API] Refactoring: add parameter "new"
Closed, ResolvedPublic


Currently the functionality to create new entities via the editEntity API module is broken. It will accidentally work for items, if the "id" parameter is not set but there is currently no way to create other entities than items.

The "new" parameter should contain the type of entity to create, currently "item"|"property"|"query". If the "id" parameter is set, the "new" parameter must not be set, this has to be checked.

Version: unspecified
Severity: normal

bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz49526.
Tobi_WMDE_SW created this task.Via LegacyJun 13 2013, 1:26 PM
gerritbot added a comment.Via ConduitJun 13 2013, 3:05 PM

Related URL: https://gerrit.wikimedia.org/r/68406 (Gerrit Change I6cdd0039dee35892fc9ea5ed8b3b60133adb03b9)

gerritbot added a comment.Via ConduitJun 14 2013, 12:19 PM

Related URL: https://gerrit.wikimedia.org/r/68639 (Gerrit Change If4a37d5de31c930d9227bdacbddf2fc6b9efa7ae)

Abraham added a comment.Via ConduitJun 26 2013, 12:15 PM

Verified Wikidata demo sprint 22-9

gerritbot added a comment.Via ConduitJun 26 2013, 2:18 PM

Related URL: https://gerrit.wikimedia.org/r/70635 (Gerrit Change If4a37d5de31c930d9227bdacbddf2fc6b9efa7ae)

Add Comment