From a22d7b6e5f615eba05259402eaa28eed2d0d5925 Mon Sep 17 00:00:00 2001 From: Platonides Date: Wed, 16 Feb 2011 21:30:54 +0000 Subject: [PATCH] Fix the issue where all links on Special:Contributions where marked as stubs (NS_MAIN pages, for users with a stub threshold) broken since r63584. resetArticleId() is clearing the right data set by Title::newFromRow() and placing just the id, which in turn avoids to lookup the other items. This was already done in 1.16 (since r46179, it was useful until r46181) but resetArticleID() did not reset everything (r63584 change) and so the bug wasn't present there. --- includes/specials/SpecialContributions.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index ffd7e1429a..10dbb94cac 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -637,7 +637,6 @@ class ContribsPager extends ReverseChronologicalPager { $classes = array(); $page = Title::newFromRow( $row ); - $page->resetArticleId( $row->rev_page ); // use process cache $link = $sk->link( $page, htmlspecialchars( $page->getPrefixedText() ), -- 2.20.1