From 6f6ca41f50abfe408798422544b9294429f2f4ff Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 31 Aug 2007 08:57:22 +0000 Subject: [PATCH] *Call OutputPageBeforeHTML on preview (bug 7050) --- includes/EditPage.php | 1 + 1 file changed, 1 insertion(+) 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(); -- 2.20.1