Open main menu

Extension:AbuseFilter/Hooks/AbuseFilter-builder

< Extension:AbuseFilter(Redirected from Manual:Hooks/AbuseFilter-builder)
AbuseFilterBuilder
Available from versionĀ ??? (Gerrit change 80152)
AbuseFilter-builder hook handler that adds user_mobile variable to list of valid vars.
Define function:
public static function onAbuseFilterBuilder( array &$builder ) { ... }
Attach hook:
$wgHooks['AbuseFilterBuilder'][] = 'MyExtensionHooks::onAbuseFilterBuilder';
Called from:File(s):

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

DetailsEdit

  • $builder: the array in AbuseFilter::getBuilderValues to add to.