< Manual:Hooks 
 
      |  | This feature was removed completely in version 1.38.0 (after being deprecated in 1.37.0). | 
| UndeleteForm::undelete | |
|---|---|
| Available from version 1.18.0 (r88235, codereview) Removed in version 1.38.0 Called un UndeleteForm::undelete, 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. | |
| Define function: | public static function onUndeleteForm_undelete( &$archive, $title ) { ... }
 | 
| Attach hook: | In extension.json: {
	"Hooks": {
		"UndeleteForm::undelete": "MyExtensionHooks::onUndeleteFormundelete"
	}
}
 | 
| Called from: | File(s): SpecialUndelete.php | 
| Interface: | UndeleteForm__undeleteHook.php | 
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:UndeleteForm::undelete extensions.
Details
- &$archive: PageArchive object
- $title: Title object of the page that we're viewing
    This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.