Manual:$wgSVGNativeRendering

From Linux Web Expert

Revision as of 14:53, 10 January 2024 by imported>Reedy (Swap source for syntaxhighlight)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> SVG</translate>: $wgSVGNativeRendering
Whether native rendering by the browser agent is allowed.
<translate> Introduced in version:</translate>1.41.0 (Gerrit change 921379; git #85dd5826)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(string) or false
<translate> Default value:</translate>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