MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onArticleDeleteComplete ( $wikiPage, $user, $reason, $id, $content, $logEntry, $archivedRevisionCount) | |
This hook is called after an article is deleted. | |
Stable to implement.
Definition at line 14 of file ArticleDeleteCompleteHook.php.
MediaWiki\Page\Hook\ArticleDeleteCompleteHook::onArticleDeleteComplete | ( | $wikiPage, | |
$user, | |||
$reason, | |||
$id, | |||
$content, | |||
$logEntry, | |||
$archivedRevisionCount | |||
) |
This hook is called after an article is deleted.
WikiPage | $wikiPage | WikiPage that was deleted |
User | $user | User that deleted the article |
string | $reason | Reason the article was deleted |
int | $id | ID of the article that was deleted |
Content | null | $content | Content of the deleted page (or null, when deleting a broken page) |
ManualLogEntry | $logEntry | ManualLogEntry used to record the deletion |
int | $archivedRevisionCount | Number of revisions archived during the deletion |
Implemented in MediaWiki\HookContainer\HookRunner.