|
MediaWiki REL1_35
|
Stable to implement. More...

Public Member Functions | |
| onUndeleteForm__undelete (&$archive, $title) | |
| This hook is called in UndeleteForm::undelete, after checks are conducted. | |
Stable to implement.
Definition at line 13 of file UndeleteForm__undeleteHook.php.
| 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.
| PageArchive | &$archive | |
| Title | $title | The title of the page that we're about to undelete |
Implemented in MediaWiki\HookContainer\HookRunner.