MediaWiki REL1_41
PageUndeleteHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Page\Hook;
4
8
32 public function onPageUndelete(
34 Authority $performer,
35 string $reason,
36 bool $unsuppress,
37 array $timestamps,
38 array $fileVersions,
39 StatusValue $status
40 );
41}
Generic operation result class Has warning/error list, boolean status and arbitrary value.
This is a hook handler interface, see docs/Hooks.md.
onPageUndelete(ProperPageIdentity $page, Authority $performer, string $reason, bool $unsuppress, array $timestamps, array $fileVersions, StatusValue $status)
This hook is called before (part of) a page is undeleted.
Interface for a page that is (or could be, or used to be) an editable wiki page.
This interface represents the authority associated the current execution context, such as a web reque...
Definition Authority.php:37