In credit blocks, show user pages as missing/existing links, depending on
authorEvan Prodromou <evanprodromou@users.mediawiki.org>
Mon, 28 Jun 2004 20:42:13 +0000 (20:42 +0000)
committerEvan Prodromou <evanprodromou@users.mediawiki.org>
Mon, 28 Jun 2004 20:42:13 +0000 (20:42 +0000)
user page state.

includes/Credits.php

index 23e74a1..4e30b81 100644 (file)
@@ -159,8 +159,8 @@ function getContributorCredits($article, $cnt, $showIfMax) {
 function creditLink($user_name, $link_text = '') {
     global $wgUser, $wgLang;
     $skin = $wgUser->getSkin();
-    return $skin->makeKnownLink($wgLang->getNsText(NS_USER) . ":" . $user_name,
-                               (empty($link_text)) ? $user_name : $link_text);
+    return $skin->makeLink($wgLang->getNsText(NS_USER) . ":" . $user_name,
+                          (empty($link_text)) ? $user_name : $link_text);
 }
 
 function creditOthersLink($article) {