MediaWiki
master
UndeleteForm__showHistoryHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Specials\Hook
;
4
5
use
MediaWiki\Page\PageArchive
;
6
use
MediaWiki\Title\Title
;
7
8
// phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
16
interface
UndeleteForm__showHistoryHook
{
26
public
function
onUndeleteForm__showHistory
( &$archive, $title );
27
}
28
30
class_alias( UndeleteForm__showHistoryHook::class,
'MediaWiki\\Hook\\UndeleteForm__showHistoryHook'
);
MediaWiki\Page\PageArchive
Used to show archived pages and eventually restore them.
Definition
PageArchive.php:21
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:69
MediaWiki\Specials\Hook\UndeleteForm__showHistoryHook
This is a hook handler interface, see docs/Hooks.md.
Definition
UndeleteForm__showHistoryHook.php:16
MediaWiki\Specials\Hook\UndeleteForm__showHistoryHook\onUndeleteForm__showHistory
onUndeleteForm__showHistory(&$archive, $title)
This hook is called in UndeleteForm::showHistory, after creating the PageArchive object.
MediaWiki\Specials\Hook
Definition
AncientPagesQueryHook.php:3
includes
Specials
Hook
UndeleteForm__showHistoryHook.php
Generated on Mon Jan 19 2026 13:26:31 for MediaWiki by
1.10.0