INSTRUCTIONS TO USE THE SVGZ PATCH 1. Apply the patch to your wiki directory, e.g. patch -p1 svgz.patch 2. In LocalSettings.php, add these lines: $wgStrictFileExtensions=false; $wgEnableUploads = true; 3. You MUST enable your web server to properly serve SVGZ files with Content-Encoding:gzip and MIME type image/svg+xml. This is NOT enabled by default. Edit httpd.conf or .htaccess (search Google if stuck) EXAMPLE: In Apache's httpd.conf, add these lines: AddType image/svg+xml .svg .svgz AddEncoding gzip .svgz RemoveEncoding .svgz 4. Restart your web server (on Linux, sudo /etc/init.d/httpd restart) 5. That's it! Have fun. Report bugs/problems/etc. to en:User_talk:Brownsteve NOTES ABOUT THIS PATCH SVG is not a registered MIME type with IANA. Apache only includes IANA-approved MIME types by default. You must configure your httpd.conf by hand until this is fixed. We assume all browsers that can render SVG graphics can also Accept-Encoding:gzip.