Manual:$wgSVGNativeRenderingSizeLimit

SVG: $wgSVGNativeRenderingSizeLimit
Limit on an SVG file's size for it to be rendered by the client, in bytes.
Introduced in version:1.41.0 (Gerrit change 921379; git #85dd5826)
Removed in version:Still in use
Allowed values:Unspecified
Default value:50 * 1024

Details

edit

Limit on an SVG file's size for it to be rendered by the client, in bytes. If the filesize exceeds that number of bytes, the file is rasterized server-side and served as a bitmap. Otherwise, it is served as SVG (unless $wgSVGNativeRendering is set to false).

This configuration variable only applies if $wgSVGNativeRendering is set to the value 'partial'.