MediaWiki
master
RevisionFromEditCompleteHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Page\Hook
;
4
5
use
MediaWiki\Revision\RevisionRecord
;
6
use
MediaWiki\User\UserIdentity
;
7
use
WikiPage
;
8
16
interface
RevisionFromEditCompleteHook
{
33
public
function
onRevisionFromEditComplete
( $wikiPage, $rev, $originalRevId,
34
$user, &$tags
35
);
36
}
MediaWiki\Revision\RevisionRecord
Page revision base class.
Definition
RevisionRecord.php:50
WikiPage
Base representation for an editable wiki page.
Definition
WikiPage.php:85
MediaWiki\Page\Hook\RevisionFromEditCompleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition
RevisionFromEditCompleteHook.php:16
MediaWiki\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.
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition
UserIdentity.php:39
MediaWiki\Page\Hook
Definition
Article__MissingArticleConditionsHook.php:3
includes
page
Hook
RevisionFromEditCompleteHook.php
Generated on Mon Dec 9 2024 19:24:44 for MediaWiki by
1.10.0