MediaWiki REL1_35
MediaWiki\Hook\UndeleteForm__undeleteHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\UndeleteForm__undeleteHook:

Public Member Functions

 onUndeleteForm__undelete (&$archive, $title)
 This hook is called in UndeleteForm::undelete, after checks are conducted.
 

Detailed Description

Stable to implement.

Definition at line 13 of file UndeleteForm__undeleteHook.php.

Member Function Documentation

◆ onUndeleteForm__undelete()

MediaWiki\Hook\UndeleteForm__undeleteHook::onUndeleteForm__undelete ( $archive,
  $title 
)

This hook is called in UndeleteForm::undelete, after checks are conducted.

Called after checking that the site is not in read-only mode, that the Title object is not null and after a PageArchive object has been constructed but before performing any further processing.

Since
1.35
Parameters
PageArchive&$archive
Title$titleThe title of the page that we're about to undelete
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: