Thread:Project:Support desk/html in mediawiki/reply (2)

Hi!

As for the image there is an extension, which allows people to put HTML code into wiki pages (and that can also include image tags). However, using it is a security risk as people can basically enter any HTML code; also malicious stuff. Allowing raw HTML code in wiki pages is not recommended. If what you want to do is to allow external images, see $wgAllowExternalImages.

You can use the CSS classes, which are attached to the body tag in the HTML code to apply certain styles to certain pages. Maybe you want to use the classes, which are used for the different namespaces? That would allow you to differentiate by the page's namespace.

However, what you want sounds a bit strange. Maybe it would be better to use two separate wikis, if you want them to look differently?