Extension:AbuseFilter/Hooks/AbuseFilterGetDangerousActions

AbuseFilterGetDangerousAction
Available from version ???
Allows specifying custom consequences which can harm the user and prevent the edit from being saved.
Define function:
public static function onAbuseFilterGetDangerousAction( array &$actions ) { ... }
Attach hook:
$wgHooks['AbuseFilterGetDangerousAction'][] = 'MyExtensionHooks::onAbuseFilterGetDangerousAction';
Called from:File(s): AbuseFilter /

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

Arguments

edit
  • &$actions: An array of strings