MediaWiki
master
PageDeleteCompleteHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Page\Hook
;
4
5
use
MediaWiki\Logging\ManualLogEntry
;
6
use
MediaWiki\Page\ProperPageIdentity
;
7
use
MediaWiki\Permissions\Authority
;
8
use
MediaWiki\Revision\RevisionRecord
;
9
17
interface
PageDeleteCompleteHook
{
33
public
function
onPageDeleteComplete
(
34
ProperPageIdentity
$page,
35
Authority
$deleter,
36
string
$reason,
37
int
$pageID,
38
RevisionRecord
$deletedRev,
39
ManualLogEntry
$logEntry,
40
int
$archivedRevisionCount
41
);
42
}
MediaWiki\Logging\ManualLogEntry
Class for creating new log entries and inserting them into the database.
Definition
ManualLogEntry.php:55
MediaWiki\Revision\RevisionRecord
Page revision base class.
Definition
RevisionRecord.php:49
MediaWiki\Page\Hook\PageDeleteCompleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition
PageDeleteCompleteHook.php:17
MediaWiki\Page\Hook\PageDeleteCompleteHook\onPageDeleteComplete
onPageDeleteComplete(ProperPageIdentity $page, Authority $deleter, string $reason, int $pageID, RevisionRecord $deletedRev, ManualLogEntry $logEntry, int $archivedRevisionCount)
This hook is called after a page is deleted.
MediaWiki\Page\ProperPageIdentity
Interface for a page that is (or could be, or used to be) an editable wiki page.
Definition
ProperPageIdentity.php:44
MediaWiki\Permissions\Authority
This interface represents the authority associated with the current execution context,...
Definition
Authority.php:37
MediaWiki\Page\Hook
Definition
Article__MissingArticleConditionsHook.php:3
includes
page
Hook
PageDeleteCompleteHook.php
Generated on Wed Apr 30 2025 14:31:54 for MediaWiki by
1.10.0