From: Magnus Manske Date: Sat, 17 Dec 2005 16:19:32 +0000 (+0000) Subject: new hook X-Git-Tag: 1.6.0~933 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=660cf90ac97dfedb9c3bf87a23e8531356ebefb3;p=lhc%2Fweb%2Fwiklou.git new hook --- diff --git a/includes/Article.php b/includes/Article.php index 02bbaecfdd..4396a29499 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1157,6 +1157,9 @@ class Article { $oldid = 0; # new article $this->showArticle( $text, wfMsg( 'newarticle' ), false, $isminor, $now, $summary, $oldid, $revisionId ); + wfRunHooks( 'ArticleInsertComplete', array( &$this, &$wgUser, $text, + $summary, $isminor, + $watchthis, NULL ) ); wfRunHooks( 'ArticleSaveComplete', array( &$this, &$wgUser, $text, $summary, $isminor, $watchthis, NULL ) );