Page MenuHomePhabricator

[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



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:46 AM
bzimport set Reference to bz49526.
bzimport added a subscriber: Unknown Object (MLST).

Related URL: (Gerrit Change I6cdd0039dee35892fc9ea5ed8b3b60133adb03b9)

Related URL: (Gerrit Change If4a37d5de31c930d9227bdacbddf2fc6b9efa7ae)

Verified Wikidata demo sprint 22-9

Related URL: (Gerrit Change If4a37d5de31c930d9227bdacbddf2fc6b9efa7ae)