MediaWiki
REL1_37
RollbackCompleteHook.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
RollbackCompleteHook
{
28
public
function
onRollbackComplete
( $wikiPage, $user, $revision,
29
$current
30
);
31
}
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\RollbackCompleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition
RollbackCompleteHook.php:16
MediaWiki\Page\Hook\RollbackCompleteHook\onRollbackComplete
onRollbackComplete( $wikiPage, $user, $revision, $current)
After an article rollback is completed.
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition
UserIdentity.php:39
MediaWiki\Page\Hook
Definition
Article__MissingArticleConditionsHook.php:3
includes
page
Hook
RollbackCompleteHook.php
Generated on Fri Apr 5 2024 23:40:37 for MediaWiki by
1.9.8