Manual:Hooks/PageContentSaveComplete

non errors

Details

 * $wikiPage: WikiPage modified
 * $user: User performing the modification
 * $mainContent: New content, as a Content object
 * $summary: Edit summary/comment
 * $isMinor: Whether or not the edit was marked as minor
 * $isWatch: (No longer used)
 * $section: (No longer used)
 * $flags: Flags passed to WikiPage::doEditContent
 * $revision: Revision object of the saved content. If the save did not result in the creation of a new revision (e.g. the submission was equal to the latest revision), this parameter may be null (null edits, or "no-op"). However, there are reports (see T128838) that it's instead set to that latest revision.
 * $status: Status object about to be returned by doEditContent
 * $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.
 * $undidRevId: the rev ID (or 0) this edit undid

The function should return true to continue hook processing or false to abort. This hook will be triggered both by edits made through the edit page, and by edits made through the API.