Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4126902
PageDeletionDataUpdatesHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
986 B
Referenced Files
None
Subscribers
None
PageDeletionDataUpdatesHook.php
View Options
<?php
namespace
MediaWiki\Page\Hook
;
use
MediaWiki\Deferred\DeferrableUpdate
;
use
MediaWiki\Revision\RevisionRecord
;
use
MediaWiki\Title\Title
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "PageDeletionDataUpdates" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
PageDeletionDataUpdatesHook
{
/**
* This hook is called when constructing a list of DeferrableUpdate to be
* executed when a page is deleted.
*
* @since 1.35
*
* @param Title $title Title of the page being deleted
* @param RevisionRecord $revision RevisionRecord representing the page's
* current revision at the time of deletion
* @param DeferrableUpdate[] &$updates List of DeferrableUpdate that can be
* manipulated by the hook handler
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onPageDeletionDataUpdates
(
$title
,
$revision
,
&
$updates
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Aug 19, 08:20 (2 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d7/ca/afd5689d550608f451a70b4499c9
Default Alt Text
PageDeletionDataUpdatesHook.php (986 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment