r88921 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88920‎ | r88921 | r88922 >
Date:19:56, 26 May 2011
Author:ialex
Status:ok
Tags:
Comment:
Fix for r88898: fix variable name
Modified paths:
  • /trunk/phase3/includes/Wiki.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Wiki.php
@@ -189,8 +189,8 @@
190190 $this->performAction( $article );
191191 wfProfileOut( __METHOD__ );
192192 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 );
195195 } else {
196196 wfProfileOut( __METHOD__ );
197197 throw new MWException( "Shouldn't happen: MediaWiki::initializeArticle() returned neither an object nor a URL" );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r88898Merged MediaWiki::performRequestForTitle() and MediaWiki::handleSpecialCases(...ialex16:41, 26 May 2011

Status & tagging log