Jump to content

Manual:$wgAllowImageTag

From mediawiki.org
Parser: $wgAllowImageTag
Allow ‎<img> tag to be used in wikitext.
Introduced in version:1.17.0 (r65286)
Deprecated in version:1.35.0 (Gerrit change 604508; git #8c43d758)
Removed in version:1.42.0 (Gerrit change 994116; git #4c689836)
Allowed values:(boolean)
Default value:false

Details

[edit]

Allow ‎<img> tag to be used in wikitext. This allows you to specify alt text and other attributes, copy-paste HTML to your wiki more easily, etc. However, allowing external images in any manner will allow anyone with editing rights to snoop on your visitors' IP addresses and so forth, if they wanted to, by inserting links to images on sites they control. Hence enabling this setting can represent a privacy risk to your visitors.

See task T355107 for alternative solution (in discussion) to use the <img> tag.

See also

[edit]