(bug 38376) call to undefined method ThumbnailImage::getPath()
authorumherirrender <umherirrender_de.wp@web.de>
Fri, 13 Jul 2012 15:07:56 +0000 (17:07 +0200)
committerAntoine Musso <hashar@free.fr>
Sun, 15 Jul 2012 12:09:43 +0000 (14:09 +0200)
commit87524b1e751d52bb17d016da60ca1be010ef8f70
treef34432973f9608469b031351f18bbabbbd5000c9
parentd949fb09935a24a872beb0b70dbcae9e1f9b2f73
(bug 38376) call to undefined method ThumbnailImage::getPath()

* Added MediaTransformOutput::getExtension() function and use it instead.
* Also fixed getScriptedTransform() to not pass the page as the path parameter.

Change-Id: I6c530aa155d62a6bfd5727c6f3d104fe91453745
includes/api/ApiQueryImageInfo.php
includes/media/Generic.php
includes/media/MediaTransformOutput.php