MediaWiki master
MediaWiki\Api\Hook\ApiLogFeatureUsageHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\Api\ApiHookRunner.

Public Member Functions

 onApiLogFeatureUsage ( $feature, array $clientInfo)
 This hook is called after calling the logFeatureUsage() method of an API module.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "ApiLogFeatureUsage" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 12 of file ApiLogFeatureUsageHook.php.

Member Function Documentation

◆ onApiLogFeatureUsage()

MediaWiki\Api\Hook\ApiLogFeatureUsageHook::onApiLogFeatureUsage ( $feature,
array $clientInfo )

This hook is called after calling the logFeatureUsage() method of an API module.

Use this hook to extend core API modules.

Since
1.43
Parameters
string$feature
array<string,mixed>$clientInfo
Returns
void

Implemented in MediaWiki\Api\ApiHookRunner.


The documentation for this interface was generated from the following file: