Manual:Hooks/ArticleSave

Details

 * $article: the article (Article object) being saved
 * $user: the user (User object) saving the article
 * $text: the new article text
 * $summary: the edit summary
 * $minor: minor edit flag
 * $watch: not used
 * $sectionanchor: not used
 * $flags: bitfield, see source code for details