r73349 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73348‎ | r73349 | r73350 >
Date:23:27, 19 September 2010
Author:demon
Status:ok (Comments)
Tags:
Comment:
Followup r73348, rv unrelated change
Modified paths:
  • /trunk/phase3/includes/Revision.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Revision.php
@@ -314,8 +314,8 @@
315315
316316 if( isset( $row->page_latest ) ) {
317317 $this->mCurrent = ( $row->rev_id == $row->page_latest );
318 - $row->page_id = $this->mPage;
319 - $this->mTitle = Title::newFromRow( $row );
 318+ $this->mTitle = Title::makeTitle( $row->page_namespace, $row->page_title );
 319+ $this->mTitle->resetArticleID( $this->mPage );
320320 } else {
321321 $this->mCurrent = false;
322322 $this->mTitle = null;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r73348Followup r70608, don't use master connection just for type check, and use get...demon23:25, 19 September 2010

Comments

#Comment by Hashar (talk | contribs)   09:46, 26 September 2010

fix 73348

Status & tagging log