*Call OutputPageBeforeHTML on preview (bug 7050)
authorAaron Schulz <aaron@users.mediawiki.org>
Fri, 31 Aug 2007 08:57:22 +0000 (08:57 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Fri, 31 Aug 2007 08:57:22 +0000 (08:57 +0000)
includes/EditPage.php

index 03ac587..f244b39 100644 (file)
@@ -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();