r103039 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103038‎ | r103039 | r103040 >
Date:21:42, 14 November 2011
Author:ialex
Status:ok
Tags:
Comment:
Fix for r102997: forgot to change that variable
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -229,7 +229,7 @@
230230 // Revision title doesn't match the page title given?
231231 if ( $this->mPage->getID() != $this->mRevision->getPage() ) {
232232 $function = array( get_class( $this->mPage ), 'newFromID' );
233 - $this->mPage = call_user_func( $function, $revision->getPage() );
 233+ $this->mPage = call_user_func( $function, $this->mRevision->getPage() );
234234 }
235235 }
236236 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r102997Some cleanup to Article::view() and related:...ialex18:05, 14 November 2011

Status & tagging log