MediaWiki
REL1_35
ArticleUndeleteHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Page\Hook
;
4
5
// phpcs:disable Generic.Files.LineLength -- Remove this after doc review
6
use
Title
;
7
12
interface
ArticleUndeleteHook
{
28
public
function
onArticleUndelete
(
$title
, $create, $comment, $oldPageId,
29
$restoredPages
30
);
31
}
Title
Represents a title within MediaWiki.
Definition
Title.php:42
MediaWiki\Page\Hook\ArticleUndeleteHook
Stable to implement.
Definition
ArticleUndeleteHook.php:12
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
$title
$title
Definition
testCompression.php:38
includes
page
Hook
ArticleUndeleteHook.php
Generated on Sat Apr 6 2024 00:07:34 for MediaWiki by
1.9.8