(bug 27715) Make imageinfo api module respect revDelete.
authorBrian Wolff <bawolff@users.mediawiki.org>
Fri, 25 Feb 2011 19:51:37 +0000 (19:51 +0000)
committerBrian Wolff <bawolff@users.mediawiki.org>
Fri, 25 Feb 2011 19:51:37 +0000 (19:51 +0000)
commitc09deaa42613c93bbe559efb77c4c8b54c2063f7
treecdec4a630844056085d076e85d2a9bf2699b73b3
parent41e7860130435233d5089796f0830d9b2111eadc
(bug 27715) Make imageinfo api module respect revDelete.

This treats metadata and similar properties to be deleted if the file is deleted, since they
are derived from the file, and i know examples of where the file was deleted to hide sensitive
data in exif. Does still show the file size if file is deleted, because that is what is done
in interface. Follows what ApiQueryLogEvents does and outputs userhidden="" if the user cannot
be displayed due to being hidden.

Due to this bug, all the secret oversight cabal info could be visible for images, so probably
should be merged into wmf stuff soon as possible.
RELEASE-NOTES
includes/api/ApiQueryImageInfo.php