ApiQueryAllDeletedRevisions: More namespace handling fixes
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 31 Aug 2016 17:19:13 +0000 (13:19 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Wed, 31 Aug 2016 17:19:13 +0000 (13:19 -0400)
commite7be66b4d725c610e6e014b9cb4a755b0749b364
tree935a99c2b90c69f9df3c3cb3de11b233b06942c5
parente77e7f2fde080a10e7290607faadb0bd328fe9f3
ApiQueryAllDeletedRevisions: More namespace handling fixes

* If the user specifically requests an empty list of namespaces, they
  should get no pages.
* `ar_namespace` should always be in the query so MySQL can do a range
  search instead of a full index scan.
* The example provided didn't match its description.

Bug: T89665
Change-Id: I91afc25db488f75c7f2b1ef343766b4bd7da5472
includes/api/ApiQueryAllDeletedRevisions.php