Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5970209
RollbackCompleteHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
929 B
Referenced Files
None
Subscribers
None
RollbackCompleteHook.php
View Options
<?php
namespace
MediaWiki\Page\Hook
;
use
MediaWiki\Revision\RevisionRecord
;
use
MediaWiki\User\UserIdentity
;
use
WikiPage
;
/**
* 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
Sat, Oct 3, 14:19 (12 h, 48 s ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
6e/18/f3cfaced7a14d18121ecdd9babe8
Default Alt Text
RollbackCompleteHook.php (929 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment