MediaWiki REL1_37
MediaWiki\Hook\UndeleteForm__showRevisionHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\UndeleteForm__showRevisionHook:

Public Member Functions

 onUndeleteForm__showRevision (&$archive, $title)
 This hook is called in UndeleteForm::showRevision, after creating a PageArchive object.
 

Detailed Description

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

Use the hook name "UndeleteForm::showRevision" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 16 of file UndeleteForm__showRevisionHook.php.

Member Function Documentation

◆ onUndeleteForm__showRevision()

MediaWiki\Hook\UndeleteForm__showRevisionHook::onUndeleteForm__showRevision ( $archive,
  $title 
)

This hook is called in UndeleteForm::showRevision, after creating a PageArchive object.

Since
1.35
Parameters
PageArchive&$archivePageArchive object
Title$titleTitle object of the page that we're viewing
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: