Index: trunk/phase3/includes/specials/SpecialContributions.php |
— | — | @@ -464,9 +464,9 @@ |
465 | 465 | $sk = $this->getSkin(); |
466 | 466 | $rev = new Revision( $row ); |
467 | 467 | |
468 | | - $page = Title::makeTitle( $row->page_namespace, $row->page_title ); |
| 468 | + $page = Title::newFromRow( $row ); |
469 | 469 | $page->resetArticleId( $row->rev_page ); // use process cache |
470 | | - $link = $sk->makeLinkObj( $page, $page->getPrefixedText(), $row->page_is_redirect ? 'redirect=no' : '' ); |
| 470 | + $link = $sk->makeLinkObj( $page, $page->getPrefixedText(), $page->isRedirect() ? 'redirect=no' : '' ); |
471 | 471 | # Mark current revisions |
472 | 472 | $difftext = $topmarktext = ''; |
473 | 473 | if( $row->rev_id == $row->page_latest ) { |