| AbuseFilterShouldFilterAction | |
|---|---|
| Available from version 1.34 (Gerrit change 526183) Called before filtering an action. If the current action should not be filtered, return false and add a useful reason to $skipReasons. | |
| Define function: | publicstaticfunctiononAbuseFilterShouldFilterAction(MediaWiki\Extension\AbuseFilter\Variables\VariableHolder$vars,MediaWiki\Title\Title$title,User$user,array&$skipReasons){...} |
| Attach hook: | $wgHooks['AbuseFilterShouldFilterAction'][]='MyExtensionHooks::onAbuseFilterShouldFilterAction'; |
| Called from: | File(s):AbuseFilter / AbuseFilterRunner.php |
For more information about attaching hooks, seeManual:Hooks.
For examples of other extensions using this hook, seeCategory:AbuseFilterShouldFilterAction extensions.
$skipReasons to explain why.