Read the following for SVG support:
- Manual:Image Administration - How to enable MediaWiki's support of SVG.
$wgFileExtensions- How to add 'svg' to permitted extensions
$wgSVGConverter- Default SVG converter
$wgDisableUploadScriptChecks- By default, uploading SVG fails if scripts or HTML code is present in the SVG. Internal links (hrefs) are also prevented.
$wgAllowTitlesInSVG- Allows for Titles in the SVG, without triggering script detection.