< Manual:Hooks
| EditPage::attemptSave:after | |
|---|---|
| Available from version 1.25.0 (Gerrit change 189049) Called after an article save attempt | |
| Define function: | public static function onEditPage_attemptSave_after( EditPage $editPage, Status $status, $details ) { ... }
|
| Attach hook: | In extension.json:
{
"Hooks": {
"EditPage::attemptSave:after": "MyExtensionHooks::onEditPageattemptSaveafter"
}
}
|
| Called from: | File(s): EditPage.php Function(s): attemptSave |
| Interface: | EditPage__attemptSave_afterHook.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:EditPage::attemptSave:after extensions.
Details
$editpage: the EditPage object$status: the resulting Status object$resultDetails: The result details as an array (seeEditPage->internalAttemptSave), or false
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.