Extension:NativeSvgHandler

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
NativeSvgHandler

Release status: stable

Implementation Media
Description Serves SVG images directly to clients
Author(s) P12talk
Last version 1.1
MediaWiki 1.18, 1.19
License GPLv2+
Download github
Check usage and version matrix; stats

This extension allows SVG files to by served directly to clients for client-side rendering.

Download instructions[edit]

Download the extension tarball and copy all files into $IP/extensions/NativeSvgHandler/ directory. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation[edit]

No configuration is required, just add the following to your LocalSettings.php:

require_once("$IP/extensions/NativeSvgHandler/NativeSvgHandler.php");