From 6c0a9890e659e066dea1e6c961ca80e7148d59c9 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 4 Dec 2003 17:23:26 +0000 Subject: [PATCH] User contributions and email this user links now enabled on talk page in Cologne Blue skin (RFE#608796). --- includes/SkinCologneBlue.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- 2.20.1