MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onApiCheckCanExecute ( $module, $user, &$message) | |
This hook is called during ApiMain::checkCanExecute. | |
Stable to implement.
Definition at line 14 of file ApiCheckCanExecuteHook.php.
MediaWiki\Api\Hook\ApiCheckCanExecuteHook::onApiCheckCanExecute | ( | $module, | |
$user, | |||
& | $message | ||
) |
This hook is called during ApiMain::checkCanExecute.
Use this hook to further authenticate and authorize API clients before executing the module.
ApiBase | $module | Module object |
User | $user | Current user |
IApiMessage | Message | string | array | &$message | API message to die with. Specific values accepted depend on the MediaWiki version:
|
Implemented in MediaWiki\Api\ApiHookRunner.