Followup r73348, rv unrelated change
authorChad Horohoe <demon@users.mediawiki.org>
Sun, 19 Sep 2010 23:27:16 +0000 (23:27 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sun, 19 Sep 2010 23:27:16 +0000 (23:27 +0000)
includes/Revision.php

index 5145033..54709de 100644 (file)
@@ -314,8 +314,8 @@ class Revision {
 
                        if( isset( $row->page_latest ) ) {
                                $this->mCurrent = ( $row->rev_id == $row->page_latest );
-                               $row->page_id = $this->mPage;
-                               $this->mTitle = Title::newFromRow( $row );
+                               $this->mTitle = Title::makeTitle( $row->page_namespace, $row->page_title );
+                               $this->mTitle->resetArticleID( $this->mPage );
                        } else {
                                $this->mCurrent = false;
                                $this->mTitle = null;