Fix the issue where all links on Special:Contributions where marked as stubs (NS_MAIN...
authorPlatonides <platonides@users.mediawiki.org>
Wed, 16 Feb 2011 21:30:54 +0000 (21:30 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Wed, 16 Feb 2011 21:30:54 +0000 (21:30 +0000)
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

index ffd7e14..10dbb94 100644 (file)
@@ -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() ),