From: Evan Prodromou Date: Thu, 4 Dec 2003 17:23:26 +0000 (+0000) Subject: User contributions and email this user links now enabled on talk page X-Git-Tag: 1.1.0~23 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/%7B%24conf-%3EScriptPath%7D/index.php?a=commitdiff_plain;h=6c0a9890e659e066dea1e6c961ca80e7148d59c9;p=lhc%2Fweb%2Fwiklou.git User contributions and email this user links now enabled on talk page in Cologne Blue skin (RFE#608796). --- diff --git a/includes/SkinCologneBlue.php b/includes/SkinCologneBlue.php index 84e3acf4bf..ebb2b1ce88 100644 --- a/includes/SkinCologneBlue.php +++ b/includes/SkinCologneBlue.php @@ -189,10 +189,13 @@ class SkinCologneBlue extends Skin { . $sep . $this->whatLinksHere() . $sep . $this->watchPageLinksLink(); - if ( Namespace::getUser() == $tns ) { + if ( Namespace::getUser() == $tns || Namespace::getTalk(Namespace::getUser()) == $tns ) { $s .= $sep . $this->userContribsLink(); if ( 0 != $wgUser->getID() ) { + $id=User::idFromName($wgTitle->getText()); + if ($id != 0) { $s .= $sep . $this->emailUserLink(); + } } } $s .= $sep;