API: Fix a bug to make list=allfileusages functional again
authorSorawee Porncharoenwase <nullzero.free@gmail.com>
Thu, 6 Feb 2014 06:36:21 +0000 (13:36 +0700)
committerAnomie <bjorsch@wikimedia.org>
Thu, 6 Feb 2014 15:41:53 +0000 (15:41 +0000)
commitffd00d49c4fec162056de1bcbc2910c01c8645eb
tree4d8fcc7c1cac24b822971cdff91f693d02965b17
parentae03d1a0a38b7aa60a02843ef1e55a680c0166f2
API: Fix a bug to make list=allfileusages functional again

Querying list=allfileusages with affrom, afto, or afunique
will always get afinvalidtitle because the code passes the namespace
wrongly due to gerrit Iaa5a71ec. This patch fixes the problem.

Change-Id: I010dc3a03be74f49902fd446e7dbc306c16b869c
includes/api/ApiQueryAllLinks.php