MediaWiki
REL1_37
UndeleteForm__undeleteHook.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
16
interface
UndeleteForm__undeleteHook
{
30
public
function
onUndeleteForm__undelete
( &$archive,
$title
);
31
}
PageArchive
Used to show archived pages and eventually restore them.
Definition
PageArchive.php:37
Title
Represents a title within MediaWiki.
Definition
Title.php:48
MediaWiki\Hook\UndeleteForm__undeleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition
UndeleteForm__undeleteHook.php:16
MediaWiki\Hook\UndeleteForm__undeleteHook\onUndeleteForm__undelete
onUndeleteForm__undelete(&$archive, $title)
This hook is called in UndeleteForm::undelete, after checks are conducted.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
$title
$title
Definition
testCompression.php:38
includes
specials
Hook
UndeleteForm__undeleteHook.php
Generated on Fri Apr 5 2024 23:40:56 for MediaWiki by
1.9.8