MediaWiki
master
UndeleteForm__showRevisionHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Page\PageArchive
;
6
use
MediaWiki\Title\Title
;
7
8
/ phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
16
interface
UndeleteForm__showRevisionHook
{
26
public
function
onUndeleteForm__showRevision
( &$archive, $title );
27
}
MediaWiki\Page\PageArchive
Used to show archived pages and eventually restore them.
Definition
PageArchive.php:35
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:78
MediaWiki\Hook\UndeleteForm__showRevisionHook
This is a hook handler interface, see docs/Hooks.md.
Definition
UndeleteForm__showRevisionHook.php:16
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
includes
specials
Hook
UndeleteForm__showRevisionHook.php
Generated on Sat Apr 5 2025 16:26:20 for MediaWiki by
1.10.0