User contributions and email this user links now enabled on talk page
authorEvan Prodromou <evanprodromou@users.mediawiki.org>
Thu, 4 Dec 2003 17:23:26 +0000 (17:23 +0000)
committerEvan Prodromou <evanprodromou@users.mediawiki.org>
Thu, 4 Dec 2003 17:23:26 +0000 (17:23 +0000)
in Cologne Blue skin (RFE#608796).

includes/SkinCologneBlue.php

index 84e3acf..ebb2b1c 100644 (file)
@@ -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;