MediaWiki REL1_35
|
Public Member Functions | |
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. | |
Definition at line 13 of file NewRevisionFromEditCompleteHook.php.
MediaWiki\Page\Hook\NewRevisionFromEditCompleteHook::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.
WikiPage | $wikiPage | WikiPage edited |
Revision | $rev | New revision |
int | bool | $originalRevId | If the edit restores or repeats an earlier revision (such as a rollback or a null revision), the ID of that earlier revision. False otherwise. (Used to be called $baseID.) |
User | $user | Editing user |
array | &$tags | Tags to apply to the edit and recent change. This is empty, and replacement is ignored, in the case of import or page move. |
Implemented in MediaWiki\HookContainer\HookRunner.