MediaWiki  master
MediaWiki\Hook\UndeleteShowRevisionHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\UndeleteShowRevisionHook:

Public Member Functions

 onUndeleteShowRevision ( $title, $rev)
 This hook is called when showing a revision in Special:Undelete. More...
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "UndeleteShowRevision" to register handlers implementing this interface.

Deprecated:
since 1.35

Definition at line 15 of file UndeleteShowRevisionHook.php.

Member Function Documentation

◆ onUndeleteShowRevision()

MediaWiki\Hook\UndeleteShowRevisionHook::onUndeleteShowRevision (   $title,
  $rev 
)

This hook is called when showing a revision in Special:Undelete.

Since
1.35
Parameters
Title$titleThe title of the revision
Revision$revThe revision that will be viewed
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: