Difference between revisions of "Mediawiki Extension NativeSvgHandler"
Jump to navigation
Jump to search
(Page creation) |
m (Added infobox and semantic variables) |
||
Line 3: | Line 3: | ||
{{Template-uk:Class-Infobox-Software | {{Template-uk:Class-Infobox-Software | ||
|image = <!-- If an logo is required, enter the link here --> | |image = <!-- If an logo is required, enter the link here --> | ||
+ | |Section = [[Section::{{PAGENAME}}]] | ||
|Source = [[Source::DataSource]]<!-- [[Source::DataSource]], [[Source::Semantic Query]], ... --> | |Source = [[Source::DataSource]]<!-- [[Source::DataSource]], [[Source::Semantic Query]], ... --> | ||
|Version = [[Version::MW-1.31-LTS]]<!-- [[Version::MW-1.31-LTS]] --> | |Version = [[Version::MW-1.31-LTS]]<!-- [[Version::MW-1.31-LTS]] --> |
Revision as of 13:44, 15 February 2021
Template-uk:Class-Infobox-Software
Description
The NativeSvgHandler extension allows SVG files to be served directly to clients for client-side rendering.
Installation
Download
Download and place the file(s) in a directory called NativeSvgHandler in your extensions/ folder.
Activation
Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'NativeSvgHandler' );
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.