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-02-04

0 Responses to “Inserting raw HTML code in MediaWiki”


  1. No Comments

Leave a Reply