Inserting raw HTML code in MediaWiki

Someday this post could save you an hour: do you need to insert raw HTML code in MediaWiki (for example, an internal image that links to an external website)? Configure it to use $wgRawHtml (its page says that it is safe to use it only if your site is not publicly editable).

I can’t say this often enough: use MediaWiki if and only if you need a website that is a small clone of Wikipedia: if you need something that is just slightly different, use DokuWiki!

Last update: 2008-08-13

Post a Comment

Your email is never shared. Required fields are marked *

*
*