< Manual:Hooks
UndeleteForm::showHistory
Available from version 1.18.0 (r88235, codereview)
Called in UndeleteForm::showRevision, after a PageArchive object has been created but before any further processing is done.
Define function:
public static function onUndeleteForm_showHistory( &$archive, $title ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"UndeleteForm::showHistory": "MyExtensionHooks::onUndeleteFormshowHistory"
	}
}
Called from: File(s): SpecialUndelete.php
Interface: UndeleteForm__showHistoryHook.php

For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:UndeleteForm::showHistory 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.