ApiQueryImageInfo: Don't return URLs if the archived file is missing
authorBrad Jorsch <bjorsch@wikimedia.org>
Tue, 9 Jan 2018 15:19:39 +0000 (10:19 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Tue, 9 Jan 2018 15:21:00 +0000 (10:21 -0500)
commitaf716f64e3c89dc0c52f1045425f35da113ca93c
tree188cf6ce7af6981b3e606919722f9d02a085edad
parenta26cc32bc57c372277c767b8deb1b695138a89ad
ApiQueryImageInfo: Don't return URLs if the archived file is missing

If the archived file doesn't exist, indicate that instead of returning
bogus URLs.

Bug: T184445
Change-Id: I831b13314300f0289a2baf26ed21d81be31b292a
includes/api/ApiQueryImageInfo.php