MediaWiki REL1_35
MediaWiki\Page\Hook\ArticleRevisionUndeletedHook Interface Reference
Inheritance diagram for MediaWiki\Page\Hook\ArticleRevisionUndeletedHook:

Public Member Functions

 onArticleRevisionUndeleted ( $title, $revision, $oldPageID)
 This hook is called after an article revision is restored.
 

Detailed Description

Deprecated:
since 1.35. Use RevisionUndeleted instead.

Definition at line 12 of file ArticleRevisionUndeletedHook.php.

Member Function Documentation

◆ onArticleRevisionUndeleted()

MediaWiki\Page\Hook\ArticleRevisionUndeletedHook::onArticleRevisionUndeleted (   $title,
  $revision,
  $oldPageID 
)

This hook is called after an article revision is restored.

Since
1.35
Parameters
Title$titleArticle title
Revision$revision
int | null$oldPageIDPage ID of the revision when archived
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: