Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4198233
RollbackCompleteHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
944 B
Referenced Files
None
Subscribers
None
RollbackCompleteHook.php
View Options
<?php
namespace
MediaWiki\Page\Hook
;
use
MediaWiki\Page\WikiPage
;
use
MediaWiki\Revision\RevisionRecord
;
use
MediaWiki\User\UserIdentity
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "RollbackComplete" to register handlers implementing this interface.
*
* @deprecated since 1.36, use PageSaveComplete
* @ingroup Hooks
*/
interface
RollbackCompleteHook
{
/**
* After an article rollback is completed.
*
* @since 1.35
*
* @param WikiPage $wikiPage the WikiPage that was edited
* @param UserIdentity $user UserIdentity for the user who did the rollback
* @param RevisionRecord $revision RevisionRecord for the revision the page was reverted back to
* @param RevisionRecord $current RevisionRecord for the reverted revision
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onRollbackComplete
(
$wikiPage
,
$user
,
$revision
,
$current
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 20 2026, 21:59 (11 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b0/52/c70f763f3021a28b1f6ae6660aad
Default Alt Text
RollbackCompleteHook.php (944 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment