MediaWiki
REL1_35
NewRevisionFromEditCompleteHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Page\Hook
;
4
5
use
Revision
;
6
use
User
;
7
use
WikiPage
;
8
13
interface
NewRevisionFromEditCompleteHook
{
30
public
function
onNewRevisionFromEditComplete
( $wikiPage, $rev, $originalRevId,
31
$user, &$tags
32
);
33
}
Revision
Definition
Revision.php:40
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:60
WikiPage
Class representing a MediaWiki article and history.
Definition
WikiPage.php:51
MediaWiki\Page\Hook\NewRevisionFromEditCompleteHook
Definition
NewRevisionFromEditCompleteHook.php:13
MediaWiki\Page\Hook\NewRevisionFromEditCompleteHook\onNewRevisionFromEditComplete
onNewRevisionFromEditComplete( $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\Page\Hook
Definition
Article__MissingArticleConditionsHook.php:3
includes
page
Hook
NewRevisionFromEditCompleteHook.php
Generated on Sat Apr 6 2024 00:07:34 for MediaWiki by
1.9.8