Fix for 903572: mark the user page backlink as existing/nonexisting
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 27 Feb 2004 03:34:47 +0000 (03:34 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 27 Feb 2004 03:34:47 +0000 (03:34 +0000)
includes/SpecialContributions.php

index b2d3412..1d97b1e 100644 (file)
@@ -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 )