MediaWiki  master
MediaWiki\Hook\UndeleteShowRevisionHook Interface Reference
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

Deprecated:
since 1.35

Definition at line 12 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: