MediaWiki
REL1_35
ArticleUndeleteLogEntryHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Page\Hook
;
4
5
use
ManualLogEntry
;
6
use
PageArchive
;
7
use
User
;
8
13
interface
ArticleUndeleteLogEntryHook
{
24
public
function
onArticleUndeleteLogEntry
( $pageArchive, &$logEntry, $user );
25
}
ManualLogEntry
Class for creating new log entries and inserting them into the database.
Definition
ManualLogEntry.php:42
PageArchive
Used to show archived pages and eventually restore them.
Definition
PageArchive.php:32
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:60
MediaWiki\Page\Hook\ArticleUndeleteLogEntryHook
Stable to implement.
Definition
ArticleUndeleteLogEntryHook.php:13
MediaWiki\Page\Hook\ArticleUndeleteLogEntryHook\onArticleUndeleteLogEntry
onArticleUndeleteLogEntry( $pageArchive, &$logEntry, $user)
This hook is called when a log entry is generated but not yet saved.
MediaWiki\Page\Hook
Definition
Article__MissingArticleConditionsHook.php:3
includes
page
Hook
ArticleUndeleteLogEntryHook.php
Generated on Sat Apr 6 2024 00:07:34 for MediaWiki by
1.9.8