Manual:Hooks/ArticleInsertComplete

Please use PageContentInsertComplete instead.

Details

 * $article: the Article or WikiPage (object) saved. Article for MW < 1.18, WikiPage for MW >= 1.18
 * $user: the user (object) who saved the article
 * $text: the new article content
 * $summary: the article summary (comment)
 * $minoredit: minor edit flag
 * $watchthis: watch the page if, unwatch the page if  , do nothing if   (since 1.17.0)
 * $sectionanchor: not used as of 1.8 (automatically set to "null")
 * $flags: bitfield, see source code for details; passed to Article::doedit
 * $revision: The newly inserted revision object (as of 1.11.0)