Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4151818
PageDeleteCompleteHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
PageDeleteCompleteHook.php
View Options
<?php
namespace
MediaWiki\Page\Hook
;
use
MediaWiki\Logging\ManualLogEntry
;
use
MediaWiki\Page\ProperPageIdentity
;
use
MediaWiki\Permissions\Authority
;
use
MediaWiki\Revision\RevisionRecord
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "PageDeleteComplete" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
PageDeleteCompleteHook
{
/**
* This hook is called after a page is deleted.
*
* @since 1.37
*
* @param ProperPageIdentity $page Page that was deleted.
* This object represents state before deletion (e.g. $page->exists() will return true).
* @param Authority $deleter Who deleted the page
* @param string $reason Reason the page was deleted
* @param int $pageID ID of the page that was deleted
* @param RevisionRecord $deletedRev Last revision of the deleted page
* @param ManualLogEntry $logEntry ManualLogEntry used to record the deletion
* @param int $archivedRevisionCount Number of revisions archived during the deletion
* @return true|void
*/
public
function
onPageDeleteComplete
(
ProperPageIdentity
$page
,
Authority
$deleter
,
string
$reason
,
int
$pageID
,
RevisionRecord
$deletedRev
,
ManualLogEntry
$logEntry
,
int
$archivedRevisionCount
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 19 2026, 20:07 (7 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
91/0b/1b9124c95e6fcd03d10a0d901b93
Default Alt Text
PageDeleteCompleteHook.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment