You might try adding something like this to your local settings:
$wgMimeDetectorCommand = "/usr/bin/file -bi";
I had trouble similar to this after an upgrade.
--Hiram
Kris Coryn (Mailinglists) wrote:
Hallo,
i have upgraded my webserver to Mediawiki 1.11.0 , almost perfect but i can't see my
tiff documents.
jpeg or png is no problem so LocalSettings.php is good configured for using ImageMagick
to created thumbnails pictures
after checking FAQ and debug with $wgDebugLogFile i found this error for all the tiff
images
MediaHandler::getHandler: no handler found for image/tiff.
i traced this back to wgMediaHandlers where no tiff images are present
http://www.mediawiki.org/wiki/Manual:%24wgMediaHandlers say's
$wgMediaHandlers = array(
'image/jpeg' => 'BitmapHandler',
'image/png' => 'BitmapHandler',
'image/gif' => 'BitmapHandler',
'image/x-ms-bmp' => 'BmpHandler',
'image/svg+xml' => 'SvgHandler', // official
'image/svg' => 'SvgHandler', // compat
'image/vnd.djvu' => 'DjVuHandler', // official
'image/x.djvu' => 'DjVuHandler', // compat
'image/x-djvu' => 'DjVuHandler', // compat
);
this wil results in the script wiki/includes/media/Generic.php for the clas MediaHandler
to say "no handler found for $type."
how to configure the wiki for using tiff files again?
the previous version was mediawiki 1.8.2 that has no problems with tiff images.
wgMediaHandlers is introduced in version 1.10.0
thanks
Kris
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l