< Extension:AbuseFilter < Hooks
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.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.