r20318 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r20317‎ | r20318 | r20319 >
Date:23:14, 10 March 2007
Author:aaron
Status:old
Tags:
Comment:
* Spacing
Modified paths:
  • /trunk/phase3/includes/EditPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/EditPage.php
@@ -139,14 +139,14 @@
140140 # Warn the user that something went wrong
141141 $this->editFormPageTop .= $wgOut->parse( wfMsgNoTrans( 'undo-failure' ) );
142142 }
143 - } else if( $section != '' ) {
144 - if( $section == 'new' ) {
145 - $text = $this->getPreloadedText( $preload );
146 - } else {
 143+ } else if( $section != '' ) {
 144+ if( $section == 'new' ) {
 145+ $text = $this->getPreloadedText( $preload );
 146+ } else {
147147 $text = $wgParser->getSection( $text, $section );
 148+ }
148149 }
149150 }
150 - }
151151
152152 wfProfileOut( __METHOD__ );
153153 return $text;