Fix for r88898: fix variable name

This commit is contained in:
Alexandre Emsenhuber 2011-05-26 19:56:42 +00:00
parent ebef5e723b
commit f88d921ca2

View file

@ -189,8 +189,8 @@ class MediaWiki {
$this->performAction( $article );
wfProfileOut( __METHOD__ );
return $article;
} elseif ( is_string( $new_article ) ) {
$this->context->output->redirect( $new_article );
} elseif ( is_string( $article ) ) {
$this->context->output->redirect( $article );
} else {
wfProfileOut( __METHOD__ );
throw new MWException( "Shouldn't happen: MediaWiki::initializeArticle() returned neither an object nor a URL" );