Extension talk:AddHTML

From mediawiki.org
Latest comment: 15 years ago by Jldupont in topic DEPRECATED EXTENSION

DEPRECATED EXTENSION[edit]

This extension does work, but for some reason, if you use it multiple times on a page, it stops working? Bit odd that one. -161.12.7.4 12:21, 16 June 2008 (UTC)Reply

Hi - I do not support this extension anymore (deprecated). It was part of my first wave of extensions I did for MW. Please see Extension:SecureHTML. Jean-Lou Dupont 12:31, 16 June 2008 (UTC)Reply

Changes needed for MediaWiki 1.22 and newer[edit]

I've installed mediawiki v1.22.0 and upgraded my old wiki mw-config and update.php. However when I load the wiki, I see this message:

Warning: Parameter 3 to addHTMLclass::hAddHtmlTag() expected to be a reference, value given in /var/www/html/wiki/includes/parser/Parser.php on line 4020

Warning: Parameter 3 to addHTMLclass::hAddHtmlTag() expected to be a reference, value given in /var/www/html/wiki/includes/parser/Parser.php on line

I replaced addHTML with SecureHTML and that got rid of the addHTML errors.

How to run php through this extension[edit]

Could you please describe this stuff in detail? And give some examples.Thanks