From 660cf90ac97dfedb9c3bf87a23e8531356ebefb3 Mon Sep 17 00:00:00 2001 From: Magnus Manske Date: Sat, 17 Dec 2005 16:19:32 +0000 Subject: [PATCH] new hook --- includes/Article.php | 3 +++ 1 file changed, 3 insertions(+) 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 ) ); -- 2.20.1