r46179 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46178‎ | r46179 | r46180 >
Date:01:37, 25 January 2009
Author:aaron
Status:ok
Tags:
Comment:
Improve article ID process cache hit rate
Modified paths:
  • /trunk/phase3/includes/specials/SpecialContributions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialContributions.php
@@ -465,6 +465,7 @@
466466 $rev = new Revision( $row );
467467
468468 $page = Title::makeTitle( $row->page_namespace, $row->page_title );
 469+ $page->resetArticleId( $row->rev_page ); // use process cache
469470 $link = $sk->makeLinkObj( $page, $page->getPrefixedText(), $page->isRedirect() ? 'redirect=no' : '' );
470471 # Mark current revisions
471472 $difftext = $topmarktext = '';

Follow-up revisions

RevisionCommit summaryAuthorDate
r82297Fix the issue where all links on Special:Contributions where marked as stubs ...platonides21:30, 16 February 2011

Status & tagging log