From: Aaron Schulz Date: Sat, 10 Mar 2007 23:14:55 +0000 (+0000) Subject: * Spacing X-Git-Tag: 1.31.0-rc.0~53812 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=471db0e4013ee6aee7597c7c1adfe755c38ac9ca;p=lhc%2Fweb%2Fwiklou.git * Spacing --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 0b9a476b00..a57f18a8a5 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -139,14 +139,14 @@ class EditPage { # Warn the user that something went wrong $this->editFormPageTop .= $wgOut->parse( wfMsgNoTrans( 'undo-failure' ) ); } - } else if( $section != '' ) { - if( $section == 'new' ) { - $text = $this->getPreloadedText( $preload ); - } else { + } else if( $section != '' ) { + if( $section == 'new' ) { + $text = $this->getPreloadedText( $preload ); + } else { $text = $wgParser->getSection( $text, $section ); + } } } - } wfProfileOut( __METHOD__ ); return $text;