MediaWiki
REL1_37
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
Class representing a MediaWiki article and history.
Definition
WikiPage.php:60
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 Fri Apr 5 2024 23:40:37 for MediaWiki by
1.9.8