* (bug 31282) Fix use of ForeignAPIRepo/InstantCommons TIFF images when $wgTiffThumbn...
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 3 Oct 2011 22:04:04 +0000 (22:04 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 3 Oct 2011 22:04:04 +0000 (22:04 +0000)
commitf09e0ec8ca2cf39772f53bc5ac3ac7ced857b31b
treea5ce99bd18b18dc6f295f1fb0e79c4f8ded296ff
parent186d083be804d2479db3a3c7fce59aaa3e9a6469
* (bug 31282) Fix use of ForeignAPIRepo/InstantCommons TIFF images when $wgTiffThumbnailType is left unset.

When pulling files over ForeignAPIRepo, the source site is what creates the thumbnails; we don't care whether we can locally produce thumbs of TIFFs.
This feels a bit hacky, and may indicate we need to better refactor media handlers & file repositories. As long as the source site can produce a thumbnail image URL or a chunk of HTML to export, the local site shouldn't have to touch any of that stuff and should just be passing data through.
includes/media/Tiff.php