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

Description

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

Details

Reference
bz49526
bzimport set Reference to bz49526.
bzimport added a subscriber: Unknown Object (MLST).

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

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

Verified Wikidata demo sprint 22-9

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

Add Comment