From: Aaron Schulz Date: Fri, 31 Aug 2007 08:57:22 +0000 (+0000) Subject: *Call OutputPageBeforeHTML on preview (bug 7050) X-Git-Tag: 1.31.0-rc.0~51588 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=6f6ca41f50abfe408798422544b9294429f2f4ff;p=lhc%2Fweb%2Fwiklou.git *Call OutputPageBeforeHTML on preview (bug 7050) --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 03ac587577..f244b3928c 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1303,6 +1303,7 @@ END if($this->mTitle->getNamespace() == NS_CATEGORY) { $this->mArticle->openShowCategory(); } + wfRunHooks( 'OutputPageBeforeHTML',array( &$wgOut, &$text ) ); $wgOut->addHTML( $text ); if($this->mTitle->getNamespace() == NS_CATEGORY) { $this->mArticle->closeShowCategory();