Manual:Hooks/ArticleSaveComplete

Details

 * : the (object) saved
 * : the (object) who saved the article
 * : the new article text
 * : the article summary (comment)
 * : minor flag
 * $watchthis: not used as of 1.8
 * : not used as of 1.8
 * : bitfield, see for details
 * : the new object that was just saved or NULL if the user clicked save without changing any page text
 * : the  object that will be returned by
 * : 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.