Extension:StructuredDiscussions/Hooks/FlowCheckHtmlContentXss
From Linux Web Expert
FlowCheckHtmlContentXss | |
---|---|
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.
Parameters
$raw
: A value representing eitherbool
,null
, orstring
(as provided byFlow\Model\AbstractRevision::getContentRaw
)