From f88d921ca2a8698ca138d4ec09a41a1db82b2df2 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Thu, 26 May 2011 19:56:42 +0000 Subject: [PATCH] Fix for r88898: fix variable name --- includes/Wiki.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Wiki.php b/includes/Wiki.php index c447b24253..1f9c9393a7 100644 --- a/includes/Wiki.php +++ b/includes/Wiki.php @@ -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" ); -- 2.20.1