Manual:$wgSVGMetadataCutoff
Appearance
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) |
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.