From 04cb91dca9c590943b88821db4175da63cae230c Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 27 Feb 2004 03:34:47 +0000 Subject: [PATCH] Fix for 903572: mark the user page backlink as existing/nonexisting --- includes/SpecialContributions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/SpecialContributions.php b/includes/SpecialContributions.php index b2d3412b36..1d97b1ea95 100644 --- a/includes/SpecialContributions.php +++ b/includes/SpecialContributions.php @@ -15,6 +15,8 @@ function wfSpecialContributions( $par = "" ) $wgOut->errorpage( "notargettitle", "notargettext" ); return; } + + # FIXME: Change from numeric offsets to date offsets list( $limit, $offset ) = wfCheckLimits( 50, "" ); $offlimit = $limit + $offset; $querylimit = $offlimit + 1; @@ -29,7 +31,7 @@ function wfSpecialContributions( $par = "" ) if ( 0 == $id ) { $ul = $nt->getText(); } else { - $ul = $sk->makeKnownLink( $nt->getPrefixedText(), $nt->getText() ); + $ul = $sk->makeLinkObj( $nt, $nt->getText() ); } $talk = $nt->getTalkPage(); if( $talk ) -- 2.20.1