Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -139,14 +139,14 @@ |
140 | 140 | # Warn the user that something went wrong |
141 | 141 | $this->editFormPageTop .= $wgOut->parse( wfMsgNoTrans( 'undo-failure' ) ); |
142 | 142 | } |
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 { |
147 | 147 | $text = $wgParser->getSection( $text, $section ); |
| 148 | + } |
148 | 149 | } |
149 | 150 | } |
150 | | - } |
151 | 151 | |
152 | 152 | wfProfileOut( __METHOD__ ); |
153 | 153 | return $text; |