MediaWiki  master
MediaWiki\Storage\Hook\PageSaveCompleteHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Storage\Hook\PageSaveCompleteHook:

Public Member Functions

 onPageSaveComplete ( $wikiPage, $user, $summary, $flags, $revisionRecord, $editResult)
 This hook is called after an article has been updated. More...

Detailed Description

Stable to implement.

Definition at line 14 of file PageSaveCompleteHook.php.

Member Function Documentation

◆ onPageSaveComplete()

MediaWiki\Storage\Hook\PageSaveCompleteHook::onPageSaveComplete (   $wikiPage,

This hook is called after an article has been updated.

WikiPage$wikiPageWikiPage modified
UserIdentity$userUser performing the modification
string$summaryEdit summary/comment
int$flagsFlags passed to WikiPage::doEditContent()
RevisionRecord$revisionRecordNew RevisionRecord of the article
EditResult$editResultObject 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).
bool|void True or no return value to continue or false to stop other hook handlers from being called; save cannot be aborted

Implemented in MediaWiki\HookContainer\HookRunner.

The documentation for this interface was generated from the following file: