MediaWiki REL1_37
ArticleUndeleteLogEntryHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Page\Hook;
4
7use User;
8
27 public function onArticleUndeleteLogEntry( $pageArchive, &$logEntry, $user );
28}
Class for creating new log entries and inserting them into the database.
Used to show archived pages and eventually restore them.
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition User.php:69
This is a hook handler interface, see docs/Hooks.md.
onArticleUndeleteLogEntry( $pageArchive, &$logEntry, $user)
This hook is called when a log entry is generated but not yet saved.