MediaWiki
REL1_39
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:47
WikiPage
Base representation for an editable wiki page.
Definition
WikiPage.php:62
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 16 2024 06:35:48 for MediaWiki by
1.10.0