Limit ApiQueryImageInfo transform calls
authorBrad Jorsch <bjorsch@wikimedia.org>
Fri, 1 Feb 2013 23:14:09 +0000 (18:14 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Wed, 20 Feb 2013 18:51:16 +0000 (13:51 -0500)
commit89a222dd861917f6d34f5637a269322a22528d42
tree12512f1b03115b340e664b42b32cbf30164823a3
parentf981077529a871ebbe8ef0478457a916f1c8ac04
Limit ApiQueryImageInfo transform calls

Apparently calls to File::transform can be slow. Add code to limit these
calls in prop=imageinfo.

The only effect for clients will be a possibility of seeing iicontinue
more often.

Once this is merged, TimedMediaHandler's ApiQueryVideoInfo.php should be
updated in the same way.

Change-Id: Id0ec6a0afb85ca73eefb5b8370c2147c37f037e9
RELEASE-NOTES-1.21
includes/api/ApiQueryImageInfo.php