MediaWiki  master
Page\Hook\ArticleRollbackCompleteHook Interface Reference
Inheritance diagram for Page\Hook\ArticleRollbackCompleteHook:

Public Member Functions

 onArticleRollbackComplete ( $wikiPage, $user, $revision, $current)
 This hook is called after an article rollback is completed. More...
 

Detailed Description

Deprecated:
since 1.35.

Use RollbackComplete instead.

Definition at line 13 of file ArticleRollbackCompleteHook.php.

Member Function Documentation

◆ onArticleRollbackComplete()

Page\Hook\ArticleRollbackCompleteHook::onArticleRollbackComplete (   $wikiPage,
  $user,
  $revision,
  $current 
)

This hook is called after an article rollback is completed.

Since
1.35
Parameters
WikiPage$wikiPageWikiPage that was edited
User$userUser who did the rollback
Revision$revisionRevision the page was reverted back to
Revision$currentReverted revision
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: