This page is a translated version of the page Extension:NativeSvgHandler and the translation is 11% complete.
MediaWiki extensions manual
Release status: stable
Implementation Media
Description Serves SVG images directly to clients
Author(s) alistair3149Diskussion
Latest version 1.4.0
Compatibility policy Master maintains backward compatibility.
MediaWiki 1.35+
Database changes No
Composer mediawiki/native-svg-handler
License GNU General Public License 3.0
Quarterly downloads 202 (Ranked 35th)
Translate the NativeSvgHandler extension if it is available at translatewiki.net

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


  • Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens NativeSvgHandler im Ordner extensions/ ablegen.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/NativeSvgHandler
  • Folgenden Code am Ende Ihrer LocalSettings.php -Datei hinzufügen:
    wfLoadExtension( 'NativeSvgHandler' );
  •   Done – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.


NativeSvgHandler serves SVG directly to clients through image tags, which is not vulnerable to XSS attack. XSS attacks are only relevant when it is accessed directly through original file on the file page, which is neither in the scope nor in control of this extension.

See also