Extension talk:HTMLPurifier

Is the $wgRawHtml parameter still set to false after extension install?
The extension works fine after installation, the question is which html tags are allowed after installation and if the parameter $wgRawHtml is still set to false or if the extension changes its value to true. Pspviwki (talk) 13:04, 15 June 2023 (UTC)


 * @Pspviwki Hi! Neither. This extension defines a new extension tag. Perhaps a bit confusing, maybe I should rename it to or something. Sophivorus (talk) 16:54, 15 June 2023 (UTC)
 * Thanks. Makes sense. I use MW to the limits and this extension solves a few problems with those limits. I assume that what tags are enabled by this extension and allowed beyond the limits of MW is defined by the defaults of html purifier. I guess if I want have the same set of tags as defined in mw:Help:HTML in wikitext and only several tags/attributes beyond these I should define MW set and those few extra tags/atributes in $wgHTMLPurifierConfig. Then whatever changes in config defaults on HTMLPurifier side will not break anything on wiki. Pspviwki (talk) 20:47, 15 June 2023 (UTC)
 * @Pspviwki If I understand you correctly, then yes, $wgHTMLPurifierConfig seems like the way to go. Good luck, and let me know of any insights! Sophivorus (talk) 22:21, 15 June 2023 (UTC)