Manual:Hooks/ArticleSaveComplete

Details

 * $article: the article (object) saved
 * $user: the user (object) who saved the article
 * $text: the new article text
 * $summary: the article summary (comment)
 * $isminor: minor flag
 * $watchthis: watch the page if, unwatch the page if  , do nothing if   (since 1.17.0)
 * $section: not used as of 1.8
 * $flags: bitfield, see source code for details
 * $revision: the new Revision object that was just saved or NULL if the user clicked save without changing any page text (only v1.11.0 and newer).
 * $status: the Status object that will be returned by  (since 1.14.0)
 * $baseRevId: revision ID on which this edit is based (since 1.15.0)
 * $redirect: if, redirect the user back to the page after the edit is successfully committed (since 1.17.0)

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.