MediaWiki
REL1_35
UndeleteForm__showRevisionHook.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
13
interface
UndeleteForm__showRevisionHook
{
23
public
function
onUndeleteForm__showRevision
( &$archive,
$title
);
24
}
PageArchive
Used to show archived pages and eventually restore them.
Definition
PageArchive.php:32
Title
Represents a title within MediaWiki.
Definition
Title.php:42
MediaWiki\Hook\UndeleteForm__showRevisionHook
Stable to implement.
Definition
UndeleteForm__showRevisionHook.php:13
MediaWiki\Hook\UndeleteForm__showRevisionHook\onUndeleteForm__showRevision
onUndeleteForm__showRevision(&$archive, $title)
This hook is called in UndeleteForm::showRevision, after creating a PageArchive object.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
$title
$title
Definition
testCompression.php:38
includes
specials
Hook
UndeleteForm__showRevisionHook.php
Generated on Sat Apr 6 2024 00:07:55 for MediaWiki by
1.9.8