MediaWiki  master
PageContentSaveCompleteHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Storage\Hook;
4 
5 use Content;
6 use Revision;
7 use Status;
8 use User;
9 use WikiPage;
10 
42  public function onPageContentSaveComplete( $wikiPage, $user, $content,
43  $summary, $isMinor, $isWatch, $section, $flags, $revision, $status,
44  $originalRevId, $undidRevId
45  );
46 }
MediaWiki\Storage\Hook\PageContentSaveCompleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition: PageContentSaveCompleteHook.php:18
MediaWiki\Storage\Hook
Definition: ArticleEditUpdateNewTalkHook.php:3
WikiPage
Class representing a MediaWiki article and history.
Definition: WikiPage.php:55
Status
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition: Status.php:44
Revision
Definition: Revision.php:40
$content
$content
Definition: router.php:76
Content
Base interface for content objects.
Definition: Content.php:35
MediaWiki\Storage\Hook\PageContentSaveCompleteHook\onPageContentSaveComplete
onPageContentSaveComplete( $wikiPage, $user, $content, $summary, $isMinor, $isWatch, $section, $flags, $revision, $status, $originalRevId, $undidRevId)
This hook is called after an article has been updated.
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:56