From MediaWiki.org
Jump to navigation Jump to search
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): AbuseFilter / AbuseFilter.php

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


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