Extension:AbuseFilter/Hooks/AbuseFilter-generateStaticVars
Appearance
This feature was removed from AbuseFilter in version 1.35.0 (gerrit:558545). Please see the AbuseFilter-generateGenericVars hook for an alternative way to use this feature. |
AbuseFilter-generateStaticVars | |
---|---|
Available from version 1.33.0 (Gerrit change 481572) Removed in version 1.35.0 (gerrit:558545) Allows altering static variables, i.e. independent from page and user |
|
Define function: | public static function onAbuseFilter_generateStaticVars( $vars ) { ... }
|
Attach hook: | $wgHooks['AbuseFilter-generateStaticVars'][] = 'MyExtensionHooks::onAbuseFilter_generateStaticVars';
|
Called from: | File(s): AbuseFilter / includes/VariableGenerator/VariableGenerator.php |
For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:AbuseFilter-generateStaticVars extensions.
Details
[edit]- $vars: AbuseFilterVariableHolder