Fix for r88898: fix variable name
This commit is contained in:
parent
ebef5e723b
commit
f88d921ca2
1 changed files with 2 additions and 2 deletions
|
|
@ -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" );
|
||||
|
|
|
|||
Loading…
Reference in a new issue