MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onPageSaveComplete ( $wikiPage, $user, $summary, $flags, $revisionRecord, $editResult) | |
This hook is called after an article has been updated. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "PageSaveComplete" to register handlers implementing this interface.
Definition at line 17 of file PageSaveCompleteHook.php.
MediaWiki\Storage\Hook\PageSaveCompleteHook::onPageSaveComplete | ( | $wikiPage, | |
$user, | |||
$summary, | |||
$flags, | |||
$revisionRecord, | |||
$editResult ) |
This hook is called after an article has been updated.
WikiPage | $wikiPage | WikiPage modified |
UserIdentity | $user | User performing the modification |
string | $summary | Edit summary/comment |
int | $flags | Flags passed to WikiPage::doUserEditContent() |
RevisionRecord | $revisionRecord | New RevisionRecord of the article |
EditResult | $editResult | Object storing information about the effects of this edit, including which edits were reverted and which edit is this based on (for reverts and null edits). |
Implemented in MediaWiki\HookContainer\HookRunner.