MediaWiki  master
BeforeRevertedTagUpdateHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Storage\Hook;
4 
9 use WikiPage;
10 
58  public function onBeforeRevertedTagUpdate(
59  $wikiPage,
60  $user,
61  $summary,
62  $flags,
63  $revisionRecord,
64  $editResult,
65  &$approved
66  ) : void;
67 }
Revision\RevisionRecord
Page revision base class.
Definition: RevisionRecord.php:45
MediaWiki\Storage\Hook
Definition: ArticleEditUpdateNewTalkHook.php:3
WikiPage
Class representing a MediaWiki article and history.
Definition: WikiPage.php:55
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition: UserIdentity.php:32
MediaWiki\Storage\EditResult
Object for storing information about the effects of an edit.
Definition: EditResult.php:38
MediaWiki\Storage\Hook\BeforeRevertedTagUpdateHook\onBeforeRevertedTagUpdate
onBeforeRevertedTagUpdate( $wikiPage, $user, $summary, $flags, $revisionRecord, $editResult, &$approved)
This hook is called before scheduling a RevertedTagUpdateJob.
MediaWiki\Storage\Hook\BeforeRevertedTagUpdateHook
This is a hook handler interface, see docs/Hooks.md.
Definition: BeforeRevertedTagUpdateHook.php:18
CommentStoreComment
Value object for a comment stored by CommentStore.
Definition: CommentStoreComment.php:30