Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil
SVG: $wgAllowTitlesInSVG
Allow <title> tag in SVG files.
Introduced in version: 1.7.0 (r14084)
Removed in version: still in use
Allowed values: (boolean)
Default value: false
Other settings: Alphabetical | By function


If true, the text <title> will be allowed in files with a "svg" file extension or "image/svg" MIME type.

MediaWiki will reject HTML-esque tags (including <title>) in uploaded files, as some browsers can't perform basic stuff like MIME detection and are therefore vulnerable to displaying valid image files as HTML and doing insecure things. You should leave this set to false if your web server is misconfigured and doesn't send appropriate MIME types for SVG images.