Extension:NativeSvgHandler allows SVG files to by served directly to clients for client-side rendering.
- MediaWiki 1.35 or later
You can get the extension via Git (specifying NativeSvgHandler as the destination directory):
git clone https://github.com/wikimedia/mediawiki-extensions-NativeSvgHandler.git NativeSvgHandler
Or download it as zip archive.
In either case, the "NativeSvgHandler" extension should end up in the "extensions" directory of your MediaWiki installation. If you got the zip archive, you will need to put it into a directory called NativeSvgHandler.
Please refer to the extensions documentation page.