Page MenuHomePhabricator

API RevisionDelete forces old-style booleans
Closed, ResolvedPublic

Description

The getApiData functions in the various revision deletion classes forcibly use formatversion=1-style booleans rather than following the user's choice (e.g., "userhidden": "" instead of "userhidden": true).

Details

Related Changes in Gerrit:

Event Timeline

Anomie subscribed.

This should be fixed, even though it's a breaking change for formatversion=2 users.

Change 328190 had a related patch set uploaded (by Anomie):
Fix RevDel API output for formatversion=2

https://gerrit.wikimedia.org/r/328190

Change 328210 had a related patch set uploaded (by Anomie):
ApiMove: Fix fatal when attempting to move to a namespace with no talkpages

https://gerrit.wikimedia.org/r/328210

Anomie: That fix is filed under the wrong task.

Change 328190 merged by jenkins-bot:
Fix RevDel API output for formatversion=2

https://gerrit.wikimedia.org/r/328190