From: daniel Date: Tue, 11 Sep 2012 13:16:39 +0000 (+0200) Subject: fix docu for ApiCheckCanExecute X-Git-Tag: 1.31.0-rc.0~22400^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=b8d6d18452b610c1c9577e9762b94b6ab32d9460;p=lhc%2Fweb%2Fwiklou.git fix docu for ApiCheckCanExecute Change-Id: Ib9af835f3e775dd89a655b186923535d9bd01678 --- 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