r40022 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40021‎ | r40022 | r40023 >
Date:14:58, 26 August 2008
Author:minuteelectron
Status:old
Tags:
Comment:
* Remove duplicated function in EditPage.
Modified paths:
  • /trunk/phase3/includes/EditPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/EditPage.php
@@ -1528,20 +1528,7 @@
15291529 $this->showDiff();
15301530 }
15311531 }
1532 -
1533 - protected function displayPreviewArea( $previewOutput ) {
1534 - global $wgOut;
1535 - if ( $this->formtype == 'preview') {
1536 - $this->showPreview( $previewOutput );
1537 - } else {
1538 - $wgOut->addHTML( '<div id="wikiPreview"></div>' );
1539 - }
15401532
1541 - if ( $this->formtype == 'diff') {
1542 - $this->showDiff();
1543 - }
1544 - }
1545 -
15461533 /**
15471534 * Append preview output to $wgOut.
15481535 * Includes category rendering if this is a category page.

Status & tagging log