Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -1550,27 +1550,6 @@ |
1551 | 1551 | } |
1552 | 1552 | |
1553 | 1553 | /** |
1554 | | - * Append preview output to $wgOut. |
1555 | | - * Includes category rendering if this is a category page. |
1556 | | - * |
1557 | | - * @param string $text The HTML to be output for the preview. |
1558 | | - */ |
1559 | | - protected function showPreview( $text ) { |
1560 | | - global $wgOut; |
1561 | | - |
1562 | | - $wgOut->addHTML( '<div id="wikiPreview">' ); |
1563 | | - if($this->mTitle->getNamespace() == NS_CATEGORY) { |
1564 | | - $this->mArticle->openShowCategory(); |
1565 | | - } |
1566 | | - wfRunHooks( 'OutputPageBeforeHTML',array( &$wgOut, &$text ) ); |
1567 | | - $wgOut->addHTML( $text ); |
1568 | | - if($this->mTitle->getNamespace() == NS_CATEGORY) { |
1569 | | - $this->mArticle->closeShowCategory(); |
1570 | | - } |
1571 | | - $wgOut->addHTML( '</div>' ); |
1572 | | - } |
1573 | | - |
1574 | | - /** |
1575 | 1554 | * Live Preview lets us fetch rendered preview page content and |
1576 | 1555 | * add it to the page without refreshing the whole page. |
1577 | 1556 | * If not supported by the browser it will fall through to the normal form |