fix docu for ApiCheckCanExecute

Change-Id: Ib9af835f3e775dd89a655b186923535d9bd01678
This commit is contained in:
daniel 2012-09-11 15:16:39 +02:00
parent e40a90f0bc
commit b8d6d18452

View file

@ -320,12 +320,13 @@ $body: Body of the message
Use this to extend core API modules. Use this to extend core API modules.
&$module: Module object &$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 further authenticate and authorize API clients before executing the
module. Return false and set a message to cancel the request. module. Return false and set a message to cancel the request.
$module: Module object $module: Module object
$user: Current user $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, 'APIEditBeforeSave': before saving a page with api.php?action=edit,
after processing request parameters. Return false to let the request after processing request parameters. Return false to let the request