Extension:NativeSvgHandler/cs

Category:GPL licensed extensions/cs
Příručka k rozšířením MediaWiki
NativeSvgHandler
Stav rozšíření: stabilníCategory:Stable extensions/cs
Implementace MédiaCategory:Media handling extensions/cs
Popis Serves SVG images directly to clients
Autoři alistair3149diskuse
Nejnovější verze 1.4.0
Zásady kompatibility Větev master zachovává zpětnou kompatibilitu.
MediaWiki 1.35+Category:Extensions with manual MediaWiki version
Změny v databázi Ne
Licence GNU General Public License 3.0
Stáhnout Category:Extensions in Wikimedia version control/cs
Čtvrtletní stahování 97 (Ranked 39th)
Přeložte rozšíření NativeSvgHandler, používá-li lokalizaci z translatewiki.net
Category:All extensions/cs

The NativeSvgHandler extension allows SVG files to be served directly to clients for client-side rendering. If you are running MediaWiki on a version newer or equal to 1.41, use $wgSVGNativeRendering instead.

Installation

  • Stáhněte soubor/y a vložte je do adresáře pojmenovaného NativeSvgHandler ve vaší složce extensions/.
    Vývojáři a přispěvatelé kódu by si místo toho měli nainstalovat rozšíření from Git pomocí:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/NativeSvgHandler
  • Na konec vašeho souboru LocalSettings.php přidejte následující kód:
    wfLoadExtension( 'NativeSvgHandler' );
    
  • Yes Dokončeno – Přejděte na stránku Special:Version vaší wiki a zkontrolujte, zda bylo rozšíření úspěšně nainstalováno.

Security

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

Category:SVG extensions/cs
Category:All extensions/cs Category:Extensions in Wikimedia version control/cs Category:Extensions included in BlueSpice/cs Category:Extensions included in WikiForge/cs Category:Extensions included in semantic::core/cs Category:Extensions with manual MediaWiki version Category:GPL licensed extensions/cs Category:Media handling extensions/cs Category:SVG extensions/cs Category:Stable extensions/cs