MediaWiki  master
UndeleteForm__showHistoryHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use PageArchive;
6 use Title;
7 
8 // phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
23  public function onUndeleteForm__showHistory( &$archive, $title );
24 }
PageArchive
Used to show archived pages and eventually restore them.
Definition: PageArchive.php:32
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\UndeleteForm__showHistoryHook
Stable to implement.
Definition: UndeleteForm__showHistoryHook.php:13
$title
$title
Definition: testCompression.php:38
Title
Represents a title within MediaWiki.
Definition: Title.php:41
MediaWiki\Hook\UndeleteForm__showHistoryHook\onUndeleteForm__showHistory
onUndeleteForm__showHistory(&$archive, $title)
This hook is called in UndeleteForm::showHistory, after creating the PageArchive object.