Manual:$wgSVGMetadataCutoff

Category:MediaWiki configuration settings#SVGMetadataCutoffCategory:MediaWiki configuration settings introduced in version 1.17.0#SVGMetadataCutoffCategory:MediaWiki configuration settings still in use#SVGMetadataCutoffCategory:SVG variables#SVGMetadataCutoff
SVG: $wgSVGMetadataCutoff
Don't read SVG metadata beyond this point.
Introduced in version:1.17.0 (r83374)
Removed in version:Still in use
Allowed values:(integer)
Default value:5242880 (1.42+)
262144 (1.17-1.41)

Details

Let X = the value of this setting. If the file size (in bytes) of a given SVG is greater than X, only the first X bytes of the SVG file will be read by the metadata extractor. This is to prevent excessive resource consumption by having to load large SVGs into an XML parser.

Category:MediaWiki configuration settings Category:MediaWiki configuration settings introduced in version 1.17.0 Category:MediaWiki configuration settings still in use Category:SVG variables