Index: trunk/phase3/includes/Revision.php |
— | — | @@ -314,8 +314,8 @@ |
315 | 315 | |
316 | 316 | if( isset( $row->page_latest ) ) { |
317 | 317 | $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 ); |
320 | 320 | } else { |
321 | 321 | $this->mCurrent = false; |
322 | 322 | $this->mTitle = null; |