From b8d6d18452b610c1c9577e9762b94b6ab32d9460 Mon Sep 17 00:00:00 2001 From: daniel Date: Tue, 11 Sep 2012 15:16:39 +0200 Subject: [PATCH] fix docu for ApiCheckCanExecute Change-Id: Ib9af835f3e775dd89a655b186923535d9bd01678 --- docs/hooks.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/hooks.txt b/docs/hooks.txt index 61053672d3..5207730eff 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -320,12 +320,13 @@ $body: Body of the message Use this to extend core API modules. &$module: Module object -'APICheckCanExecute': Called during ApiMain::checkCanExecute. Use to +'ApiCheckCanExecute': Called during ApiMain::checkCanExecute. Use to further authenticate and authorize API clients before executing the module. Return false and set a message to cancel the request. $module: Module object $user: Current user -&$message: API usage message to die with +&$message: API usage message to die with, as a message key or array +as accepted by ApiBase::dieUsageMsg. 'APIEditBeforeSave': before saving a page with api.php?action=edit, after processing request parameters. Return false to let the request -- 2.20.1