MediaWiki REL1_35
NewRevisionFromEditCompleteHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Page\Hook;
4
5use Revision;
6use User;
7use WikiPage;
8
30 public function onNewRevisionFromEditComplete( $wikiPage, $rev, $originalRevId,
31 $user, &$tags
32 );
33}
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition User.php:60
Class representing a MediaWiki article and history.
Definition WikiPage.php:51
onNewRevisionFromEditComplete( $wikiPage, $rev, $originalRevId, $user, &$tags)
This hook is called when a revision was inserted due to an edit, file upload, import or page move.