From 5f71743588cdc46bb740e458ffe7ebab705ba589 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Mon, 15 Mar 2004 14:53:54 +0000 Subject: [PATCH] Implement sourceforge feature request 903491 Show a backlink to the article. --- includes/SpecialWhatlinkshere.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/SpecialWhatlinkshere.php b/includes/SpecialWhatlinkshere.php index af4e8a0710..3d2fb1713c 100644 --- a/includes/SpecialWhatlinkshere.php +++ b/includes/SpecialWhatlinkshere.php @@ -26,6 +26,8 @@ function wfSpecialWhatlinkshere($par = NULL) $sk = $wgUser->getSkin(); $isredir = " (" . wfMsg( "isredirect" ) . ")\n"; + $wgOut->addHTML("< ".$sk->makeKnownLinkObj($nt, "", "redirect=no" )."
\n"); + if ( 0 == $id ) { $sql = "SELECT cur_id,cur_namespace,cur_title,cur_is_redirect FROM brokenlinks,cur WHERE bl_to='" . wfStrencode( $nt->getPrefixedDBkey() ) . "' AND bl_from=cur_id LIMIT 500"; -- 2.20.1