Extension:NativeSvgHandler/pl
![]() | Browser support for rendering SVGs varies widely, so the appearance of an SVG cannot be guaranteed to be consistent for all viewers. Don't rely on SVGs appearing the same for all viewers. |
![]() 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 |
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 folderzeextensions/
.
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' );
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
$wgSVGNativeRendering
(wprowadzono w 1.41)
![]() | To rozszerzenie jest dołączone do następujących farm/hostów wiki lub pakietów: To nie jest pełna lista. Niektóre farmy/hosty wiki lub pakiety mogą zawierać to rozszerzenie nawet jeśli nie są one tutaj wymienione. Zawsze sprawdzaj swoje farmy/hosty wiki, aby to potwierdzić. |
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