From: Antoine Musso Date: Mon, 15 Mar 2004 14:53:54 +0000 (+0000) Subject: Implement sourceforge feature request 903491 X-Git-Tag: 1.3.0beta1~787 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=5f71743588cdc46bb740e458ffe7ebab705ba589;p=lhc%2Fweb%2Fwiklou.git Implement sourceforge feature request 903491 Show a backlink to the article. --- 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";