Manual:Hooks/UndeleteForm::showHistory

From MediaWiki.org
Jump to: navigation, search
UndeleteForm::showHistory
Available from version 1.18.0 (r88235)
Called in UndeleteForm::showHistory, 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:
$wgHooks['UndeleteForm::showHistory'][] = 'MyExtensionHooks::onUndeleteForm::showHistory';
Called from: SpecialUndelete.php

For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:UndeleteForm::showHistory extensions.


Details [edit]

  • &$archive: PageArchive object
  • $title: Title object of the page that we're viewing