Knowledge Base Article

How to enable HTML tags in MediaWiki?

In order to use HTML tags such as <form> and <input> in your MediaWiki pages, you should add the following line to your LocalSettings.php file:

 

$wgRawHtml = true;

 

This is useful when you wish to add a PayPal button to your MediaWiki.

 

Don't forget to insert your HTML code between an opening <html> and closing </html> tags.



Rating

Please indicate if this article was helpful for you.

rating :  5.0 from 5
views :  603
votes :  12

Valid XHTML 1.0 Strict Valid CSS!