A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Hooks/AbuseFilter-computeVariable below:

Extension:AbuseFilter/Hooks/AbuseFilter-computeVariable - MediaWiki

AbuseFilter-computeVariable Available from version 1.19.0
Like AbuseFilter-interceptVariable but called if the requested method wasn't found.
Define function:
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
Function(s): compute

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.


RetroSearch 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