Extension:NativeSvgHandler/pl

Category:GPL licensed extensions/pl
Podręcznik rozszerzeń MediaWiki
NativeSvgHandler
Status wydania: stabilneCategory:Stable extensions/pl
Realizacja MediaCategory:Media handling extensions/pl
Opis Serves SVG images directly to clients
Autor(zy) alistair3149dyskusja
Ostatnia wersja 1.4.0
Polityka zgodności Master utrzymuje kompatybilność wsteczną.
MediaWiki 1.35+Category:Extensions with manual MediaWiki version
Zmiany w bazie danych Nie
Licencja Licencja publiczna GNU General Public License 3.0
Pobieranie Category:Extensions in Wikimedia version control/pl
Quarterly downloads 91 (Ranked 38th)
Przetłumacz rozszerzenie NativeSvgHandler jeżeli jest dostępne na translatewiki.net
Category:All extensions/pl

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.

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie NativeSvgHandler w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/NativeSvgHandler
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'NativeSvgHandler' );
    
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

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/pl
Category:All extensions/pl Category:Extensions in Wikimedia version control/pl Category:Extensions included in BlueSpice/pl Category:Extensions included in WikiForge/pl Category:Extensions included in semantic::core/pl Category:Extensions with manual MediaWiki version Category:GPL licensed extensions/pl Category:Media handling extensions/pl Category:SVG extensions/pl Category:Stable extensions/pl