Available from version 1.9.0
Removed in version 1.37.0
called when showing a revision in Special:Undelete
Define function:
public static function onUndeleteShowRevision( $title, $row ) { ... }
Attach hook: In extension.json:
	"Hooks": {
		"UndeleteShowRevision": "MyExtensionHooks::onUndeleteShowRevision"
Called from: File(s): specials/SpecialUndelete.php
Interface: UndeleteShowRevisionHook.php

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


  • $title: title object related to the revision
  • $rev: revision (object) that will be viewed