MediaWiki REL1_37
ArticleDeleteCompleteHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Page\Hook;
4
5use Content;
7use User;
8use WikiPage;
9
33 public function onArticleDeleteComplete( $wikiPage, $user, $reason, $id,
34 $content, $logEntry, $archivedRevisionCount
35 );
36}
Class for creating new log entries and inserting them into the database.
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition User.php:69
Class representing a MediaWiki article and history.
Definition WikiPage.php:60
Base interface for content objects.
Definition Content.php:35
This is a hook handler interface, see docs/Hooks.md.
onArticleDeleteComplete( $wikiPage, $user, $reason, $id, $content, $logEntry, $archivedRevisionCount)
This hook is called after an article is deleted.
$content
Definition router.php:76