ApiDelete: Handle batched deletions properly
authorBrad Jorsch <bjorsch@wikimedia.org>
Thu, 20 Dec 2018 14:59:02 +0000 (09:59 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Thu, 20 Dec 2018 15:03:26 +0000 (10:03 -0500)
commitdb67de7fad899de33d4c8e3b6ee8189f8570d826
tree9de29f4bab6d3cf95ed3ebdf9e08b5f3463429ee
parentf2d4db9d03a984d998db9044e63e548597511eb6
ApiDelete: Handle batched deletions properly

When batched deletions via the job queue were added in Ie800fb5a, the
way this was reported caused ApiDelete to report an error. Instead it
should report success with appropriate signaling to the client.

Bug: T212356
Change-Id: I1ef66277e988572c6720cf3e3cb36b18530746b4
RELEASE-NOTES-1.33
includes/api/ApiBase.php
includes/api/ApiDelete.php
includes/api/ApiErrorFormatter.php
tests/phpunit/includes/api/ApiDeleteTest.php
tests/phpunit/includes/api/ApiErrorFormatterTest.php