MediaWiki
master
ArticleUndeleteHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Page\Hook
;
4
5
use
MediaWiki\Title\Title
;
6
15
interface
ArticleUndeleteHook
{
31
public
function
onArticleUndelete
( $title, $create, $comment, $oldPageId,
32
$restoredPages
33
);
34
}
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:78
MediaWiki\Page\Hook\ArticleUndeleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ArticleUndeleteHook.php:15
MediaWiki\Page\Hook\ArticleUndeleteHook\onArticleUndelete
onArticleUndelete( $title, $create, $comment, $oldPageId, $restoredPages)
This hook is called when one or more revisions of an article are restored.
MediaWiki\Page\Hook
Definition
Article__MissingArticleConditionsHook.php:3
includes
page
Hook
ArticleUndeleteHook.php
Generated on Mon Dec 9 2024 19:24:43 for MediaWiki by
1.10.0