< Manual:Hooks
| This feature was removed completely in version 1.38.0 (after being deprecated in 1.37.0). |
| ArticleUndeleteLogEntry | |
|---|---|
| Available from version 1.21.0 (Gerrit change 33734) Removed in version 1.38.0 Occurs when a log entry is generated but not yet saved | |
| Define function: | public static function onArticleUndeleteLogEntry( PageArchive $pageArchive, ManualLogEntry $logEntry, User $user ) { ... }
|
| Attach hook: | In extension.json:
{
"Hooks": {
"ArticleUndeleteLogEntry": "MyExtensionHooks::onArticleUndeleteLogEntry"
}
}
|
| Called from: | File(s): page/PageArchive.php Function(s): undelete |
| Interface: | ArticleUndeleteLogEntryHook.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:ArticleUndeleteLogEntry extensions.
Details
$pageArchive: the PageArchive object&$logEntry: ManualLogEntry object$user: User who is performing the log action
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.