Jump to content

Manual:$wgSVGNativeRendering

From mediawiki.org
SVG: $wgSVGNativeRendering
Whether native rendering by the browser agent is allowed.
Introduced in version:1.41.0 (Gerrit change 921379; git #85dd5826)
Removed in version:Still in use
Allowed values:(string) or false
Default value:false

Details

Whether native rendering by the browser agent is allowed. Setting it to true disables all SVG conversion, always serving native SVGs to browsers. Setting to the string 'partial' will only allow native rendering when the file size is below $wgSVGNativeRenderingSizeLimit and if the file contains at most 1 language.

See also