Руководство:$wgAllowImageTag

From mediawiki.org
This page is a translated version of the page Manual:$wgAllowImageTag and the translation is 67% complete.
Parser: $wgAllowImageTag
Позволяет в вики-тексте использовать тэг ‎<img>.
Введено в версии:1.17.0 (r65286)
Устарела с версии:1.35.0 (Gerrit change 604508; git #8c43d758)
Удалено в версии:1.42.0 (Gerrit change 994116; git #4c689836)
Допустимые значения:(булево значение)
Значение по умолчанию:false

Подробности

Позволяет в вики-тексте использовать тэг ‎<img>. 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 задача T355107 for alternative solution (in discussion) to use the <img> tag.

См. также