Manual:$wgSVGMetadataCutoff

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎日本語
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:262144
Other settings: Alphabetical | By function

Details[edit]

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.

Default is 262,144 bytes (256 KB).