Index: trunk/phase3/includes/Wiki.php |
— | — | @@ -189,8 +189,8 @@ |
190 | 190 | $this->performAction( $article ); |
191 | 191 | wfProfileOut( __METHOD__ ); |
192 | 192 | return $article; |
193 | | - } elseif ( is_string( $new_article ) ) { |
194 | | - $this->context->output->redirect( $new_article ); |
| 193 | + } elseif ( is_string( $article ) ) { |
| 194 | + $this->context->output->redirect( $article ); |
195 | 195 | } else { |
196 | 196 | wfProfileOut( __METHOD__ ); |
197 | 197 | throw new MWException( "Shouldn't happen: MediaWiki::initializeArticle() returned neither an object nor a URL" ); |