Available from version ???
Allows extensions to check if the HTML content contains XSS
Define function:
public static function onFlowCheckHtmlContentXss( $raw ) { ... }
Attach hook:
$wgHooks['FlowCheckHtmlContentXss'][] = 'MyExtensionHooks::onFlowCheckHtmlContentXss';
Called from:File(s): StructuredDiscussions / includes/Model/AbstractRevision.php
Function(s): getContent

For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:FlowCheckHtmlContentXss extensions.


  • $raw: A value representing either bool, null, or string (as provided by Flow\Model\AbstractRevision::getContentRaw)