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