MediaWiki  master
RevisionFromEditCompleteHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Page\Hook;
4 
7 use WikiPage;
8 
33  public function onRevisionFromEditComplete( $wikiPage, $rev, $originalRevId,
34  $user, &$tags
35  );
36 }
MediaWiki\Revision\RevisionRecord
Page revision base class.
Definition: RevisionRecord.php:47
WikiPage
Class representing a MediaWiki article and history.
Definition: WikiPage.php:62
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition: UserIdentity.php:39
Page::Hook\RevisionFromEditCompleteHook\onRevisionFromEditComplete
onRevisionFromEditComplete( $wikiPage, $rev, $originalRevId, $user, &$tags)
This hook is called when a revision was inserted due to an edit, file upload, import or page move.
Page::Hook\RevisionFromEditCompleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition: RevisionFromEditCompleteHook.php:16
MediaWiki\Page\Hook
Definition: Article__MissingArticleConditionsHook.php:3