Extension:AbuseFilter/Hooks/AbuseFilterCustomProtectedVariables
AbuseFilterCustomProtectedVariables | |
---|---|
Available from version 1.44 (Gerrit change Ie0a58b7f15158332c6fa26ba3dcd5bdca0bddab0) Allows specifying custom protected variables. Variables still need to be defined using the AbuseFilter-builder hook |
|
Define function: | public static function onAbuseFilterCustomProtectedVariables( array &$variables ) { ... }
|
Attach hook: | $wgHooks['AbuseFilterCustomProtectedVariables'][] = 'MyExtensionHooks::onAbuseFilterCustomProtectedVariables';
|
Called from: | File(s): Category:Extension hooks provided by AbuseFilterAbuseFilter / |
For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:AbuseFilterCustomProtectedVariables extensions.
Callers should append variables to $variables
that should be considered protected variables.
Arguments
&$variables
: A list of variables that should be protected variables