Manual:Hooks/ArticleSaveComplete

Details

 * $article: the (object) saved
 * $user: the (object) who saved the article
 * $text: the new article text
 * $summary: the article summary (comment)
 * $minoredit: minor flag
 * $watchthis: not used as of 1.8
 * $section: not used as of 1.8
 * $flags: bitfield, see for details
 * $revision: the new object that was just saved or NULL if the user clicked save without changing any page text
 * $status: the Status object that will be returned by
 * $baseRevId: revision ID on which this edit is based

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.