Extension:AbuseFilter/Hooks/AbuseFilter-builder
From Linux Web Expert
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
$builder
: the array inAbuseFilter::getBuilderValues()
to add to.