Last modified: 2010-05-15 16:03:11 UTC
The defaults for $wgMediaHandlers need to be changed to: /** * Plugins for media file type handling. * Each entry in the array maps a MIME type to a class name */ $wgMediaHandlers = array( 'image/jpeg' => 'BitmapHandler', 'image/png' => 'BitmapHandler', 'image/gif' => 'BitmapHandler', 'image/x-ms-bmp' => 'BmpHandler', 'image/x-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 ); For some reason, the existing MediaWiki default values have 'x-ms-bmp' listed here but not 'x-bmp'. Depending on what tools a site is using to detect file types for uploads, this can break display of uncompressed bitmaps.
Fixed in r32076
*** Bug 15144 has been marked as a duplicate of this bug. ***