Implement sourceforge feature request 903491
authorAntoine Musso <hashar@users.mediawiki.org>
Mon, 15 Mar 2004 14:53:54 +0000 (14:53 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Mon, 15 Mar 2004 14:53:54 +0000 (14:53 +0000)
Show a backlink to the article.

includes/SpecialWhatlinkshere.php

index af4e8a0..3d2fb17 100644 (file)
@@ -26,6 +26,8 @@ function wfSpecialWhatlinkshere($par = NULL)
        $sk = $wgUser->getSkin();
        $isredir = " (" . wfMsg( "isredirect" ) . ")\n";
 
+       $wgOut->addHTML("&lt; ".$sk->makeKnownLinkObj($nt, "", "redirect=no" )."<br>\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";