Extension:NativeSvgHandler

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎русский • ‎日本語
MediaWiki extensions manual
Crystal Clear action run.svg
NativeSvgHandler
Release status: unmaintained
Implementation Media
Description Serves SVG images directly to clients
Author(s) Povilas Kanapickas (P12talk)
Latest version 1.2 (2015-01-16)
MediaWiki 1.26+
Database changes No
License GNU General Public License 2.0
Download
README
Translate the NativeSvgHandler extension if it is available at translatewiki.net
Check usage and version matrix.

The NativeSvgHandler extension allows SVG files to be served directly to clients for client-side rendering.

Installation[edit]

  • Download and place the file(s) in a directory called NativeSvgHandler in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/NativeSvgHandler/NativeSvgHandler.php";
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration Parameters[edit]

$wgNativeSvgHandlerEnableLinks
Set false to disable links over SVG images, the default value is true.