From: Daniel Cannon Date: Tue, 17 Jul 2007 06:04:09 +0000 (+0000) Subject: It appears that some MIME detectors on Windows machines identify svg's as 'image... X-Git-Tag: 1.31.0-rc.0~52056 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=54ee26ff8fb8374d0946b312d27c0c2b118b7869;p=lhc%2Fweb%2Fwiklou.git It appears that some MIME detectors on Windows machines identify svg's as 'image/svg' instead of 'image/svg+xml'. Might as well have both in $wgMediaHandlers. --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 0eb4fb71e4..8401fb0d3a 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1586,6 +1586,7 @@ $wgMediaHandlers = array( 'image/gif' => 'BitmapHandler', 'image/x-ms-bmp' => 'BmpHandler', 'image/svg+xml' => 'SvgHandler', + 'image/svg' => 'SvgHandler', 'image/vnd.djvu' => 'DjVuHandler', );