Keep an entry whose Wikidata item was deleted, still linked
keep_wikidata_deleted_entryDeleted on Wikidata’s “Keep, still linked” on an entry in “To review”: takes it off that list and leaves it exactly as it is, on its deleted item, with its notice. The sync still reads the item, so if Wikidata restores it the entry syncs again by itself (and the decision ends); with its QID it is never offered as a new Wikidata item; if Wikidata deletes the item again later, it comes back to “To review”. reason is recorded with the decision. With undo: true, “Put back to To review” on an entry in “Kept, still linked”. Audited. Dry run by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| undo | No | Put it back to “To review” instead. | |
| entry | Yes | The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42). | |
| reason | No | Why it is kept (optional; not with undo). | |
| dry_run | No | true (the default): write nothing — show the change and the exact request it would send. false: make the change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | A dry run: what to do next to make the change, in words. | |
| result | No | A real run: the route’s own answer, where the tool adds facts of its own beside it. | |
| confirm | No | A dry run of a change that needs it: the exact target to send back as `confirm` with dry_run: false. | |
| dry_run | No | true: a dry run, which wrote nothing. Absent from a real run. | |
| replayed | No | A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now. | |
| would_send | No | A dry run: the exact request the real run would send (`method`, `path`, any `headers` such as an Idempotency-Key, and its `body`, `form` or `query`), or the requests, in order. | |
| may_edit_live | No | A dry run of a live edit: whether this key’s account may edit this entry live. | |
| refused_because | No | A dry run the real run would be refused for: why, in words. |