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 (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)

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.