MediaWiki
REL1_35
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
13
interface
RevisionFromEditCompleteHook
{
30
public
function
onRevisionFromEditComplete
( $wikiPage, $rev, $originalRevId,
31
$user, &$tags
32
);
33
}
MediaWiki\Revision\RevisionRecord
Page revision base class.
Definition
RevisionRecord.php:46
WikiPage
Class representing a MediaWiki article and history.
Definition
WikiPage.php:51
MediaWiki\Page\Hook\RevisionFromEditCompleteHook
Stable to implement.
Definition
RevisionFromEditCompleteHook.php:13
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:32
MediaWiki\Page\Hook
Definition
Article__MissingArticleConditionsHook.php:3
includes
page
Hook
RevisionFromEditCompleteHook.php
Generated on Sat Apr 6 2024 00:07:34 for MediaWiki by
1.9.8