< Extension:StructuredDiscussions < Hooks
| 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)
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.