Extension:AbuseFilter/Hooks/AbuseFilterGetDangerousActions

Category:Extension hooks#AbuseFilterGetDangerousAction
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): Category:Extension hooks provided by AbuseFilterAbuseFilter /

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

Arguments

  • &$actions: An array of strings
Category:Extension hooks Category:Extension hooks provided by AbuseFilter