* Compatibility with incorrectly detected old-style DJVU mime types
This commit is contained in:
parent
9be2c3676a
commit
adb89e7f3b
3 changed files with 7 additions and 4 deletions
|
|
@ -80,6 +80,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
|
|||
* (bug 11474) Fix unintentional fall-through in math error handling
|
||||
* (bug 11478) Fix undefined method call in file deletion interface
|
||||
* (bug 278) Search results no longer highlight incorrect partial word matches
|
||||
* Compatibility with incorrectly detected old-style DJVU mime types
|
||||
|
||||
|
||||
=== API changes in 1.12 ===
|
||||
|
|
|
|||
|
|
@ -1603,9 +1603,11 @@ $wgMediaHandlers = array(
|
|||
'image/png' => 'BitmapHandler',
|
||||
'image/gif' => 'BitmapHandler',
|
||||
'image/x-ms-bmp' => 'BmpHandler',
|
||||
'image/svg+xml' => 'SvgHandler',
|
||||
'image/svg' => 'SvgHandler',
|
||||
'image/vnd.djvu' => 'DjVuHandler',
|
||||
'image/svg+xml' => 'SvgHandler', // official
|
||||
'image/svg' => 'SvgHandler', // compat
|
||||
'image/vnd.djvu' => 'DjVuHandler', // official
|
||||
'image/x.djvu' => 'DjVuHandler', // compat
|
||||
'image/x-djvu' => 'DjVuHandler', // compat
|
||||
);
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ image/jpeg jpeg jpg jpe
|
|||
image/png png
|
||||
image/svg+xml image/svg svg
|
||||
image/tiff tiff tif
|
||||
image/vnd.djvu djvu
|
||||
image/vnd.djvu image/x.djvu image/x-djvu djvu
|
||||
image/x-portable-pixmap ppm
|
||||
text/plain txt
|
||||
text/html html htm
|
||||
|
|
|
|||
Loading…
Reference in a new issue