Manual:$wgSVGMetadataCutoff/de-formal

From Linux Web Expert

Revision as of 06:53, 13 February 2024 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> SVG</translate>: $wgSVGMetadataCutoff
Don't read SVG metadata beyond this point.
<translate> Introduced in version:</translate>1.17.0 (r83374)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(integer)
<translate> Default value:</translate>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.