public static function onAbuseFilter_computeVariable( string $method, MediaWiki\Extension\AbuseFilter\Variables\VariableHolder $vars, array $parameters, &$result ) { ... }Attach hook:
$wgHooks['AbuseFilter-computeVariable'][] = 'MyExtensionHooks::onAbuseFilter_computeVariable';Called from: File(s): AbuseFilter / includes/AFComputedVariable.php
For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:AbuseFilter-computeVariable extensions.
Return true
to indicate that the method is known to the hook and was computed successful.
$method
: Method to generate the variable$vars
: AbuseFilterVariableHolder$parameters
: Parameters with data to compute the value&$result
: Result of the computationRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4