Index: trunk/phase3/includes/Revision.php |
— | — | @@ -314,8 +314,7 @@ |
315 | 315 | |
316 | 316 | if( isset( $row->page_latest ) ) { |
317 | 317 | $this->mCurrent = ( $row->rev_id == $row->page_latest ); |
318 | | - $this->mTitle = Title::makeTitle( $row->page_namespace, $row->page_title ); |
319 | | - $this->mTitle->resetArticleID( $this->mPage ); |
| 318 | + $this->mTitle = Title::newFromRow( $row ); |
320 | 319 | } else { |
321 | 320 | $this->mCurrent = false; |
322 | 321 | $this->mTitle = null; |