MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onPageSaveComplete ( $wikiPage, $user, $summary, $flags, $revisionRecord, $editResult) | |
This hook is called after an article has been updated. | |
Stable to implement.
Definition at line 14 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::doEditContent() |
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.