Extension:AbuseFilter/Hooks/AbuseFilter-builder
Appearance
(Redirected from Manual:Hooks/AbuseFilter-builder)
AbuseFilter-builder | |
---|---|
Available from version ??? (Gerrit change 80152) Allows overwriting of the builder values, i.e. names and descriptions of the AbuseFilter language like variables. |
|
Define function: | public static function onAbuseFilter_builder( array &$builder ) { ... }
|
Attach hook: | $wgHooks['AbuseFilter-builder'][] = 'MyExtensionHooks::onAbuseFilter_builder';
|
Called from: | File(s): AbuseFilter / AbuseFilter.php |
For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:AbuseFilter-builder extensions.
Parameters
[edit]$builder
: the array inAbuseFilter::getBuilderValues()
to add to.