From: Rob Church Date: Wed, 18 Jan 2006 02:19:44 +0000 (+0000) Subject: Fix redlinks where targets don't exist X-Git-Tag: 1.6.0~487 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=b7ea6808df03e74ceac826850aebbb7c2b0ecd07;p=lhc%2Fweb%2Fwiklou.git Fix redlinks where targets don't exist --- diff --git a/includes/SpecialListredirects.php b/includes/SpecialListredirects.php index 1ac7de48ab..a22e94dc39 100644 --- a/includes/SpecialListredirects.php +++ b/includes/SpecialListredirects.php @@ -42,7 +42,7 @@ class ListredirectsPage extends QueryPage { # Make a link to the destination page $target = Title::newFromRedirect( $revision->getText() ); if( $target ) { - $targetLink = $skin->makeKnownLinkObj( $target ); + $targetLink = $skin->makeLinkObj( $target ); } else { /** @todo Put in some decent error display here */ $targetLink = '*';