From 54ee26ff8fb8374d0946b312d27c0c2b118b7869 Mon Sep 17 00:00:00 2001 From: Daniel Cannon Date: Tue, 17 Jul 2007 06:04:09 +0000 Subject: [PATCH] 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. --- includes/DefaultSettings.php | 1 + 1 file changed, 1 insertion(+) 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', ); -- 2.20.1