MediaWiki  master
UndeleteForm__showHistoryHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
6 use PageArchive;
7 
8 // phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
26  public function onUndeleteForm__showHistory( &$archive, $title );
27 }
Represents a title within MediaWiki.
Definition: Title.php:82
Used to show archived pages and eventually restore them.
Definition: PageArchive.php:32
This is a hook handler interface, see docs/Hooks.md.
onUndeleteForm__showHistory(&$archive, $title)
This hook is called in UndeleteForm::showHistory, after creating the PageArchive object.