}
}
- if (wfRunHooks('ArticleSave', $this, $wgUser, $text, $this->summary,
+ if (wfRunHooks('ArticleSave', $this->mArticle, $wgUser, $text, $this->summary,
$this->minoredit, $this->watchthis, $sectionanchor))
{
# update the article here
if($this->mArticle->updateArticle( $text, $this->summary, $this->minoredit,
$this->watchthis, '', $sectionanchor ))
{
- wfRunHooks('ArticleSaveComplete', $this, $wgUser, $text, $this->summary,
+ wfRunHooks('ArticleSaveComplete', $this->mArticle, $wgUser, $text, $this->summary,
$this->minoredit, $this->watchthis, $sectionanchor);
return;
}