Remove some less-useful redundant links from sidebar
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 18 Dec 2008 20:50:28 +0000 (20:50 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 18 Dec 2008 20:50:28 +0000 (20:50 +0000)
skins/Standard.php

index 1f3cab9..01819ba 100644 (file)
@@ -227,10 +227,6 @@ class SkinStandard extends Skin {
                        # "Post a comment" link
                        if( ( $wgTitle->isTalkPage() || $wgOut->showNewSectionLink() ) && $action != 'edit' && !$wpPreview )
                                $s .= '<br />' . $this->makeKnownLinkObj( $wgTitle, wfMsg( 'postcomment' ), 'action=edit&section=new' );
-                       
-                       #if( $tns%2 && $action!='edit' && !$wpPreview) {
-                               #$s.= '<br />'.$this->makeKnownLink($wgTitle->getPrefixedText(),wfMsg('postcomment'),'action=edit&section=new');
-                       #}
 
                        /*
                        watching could cause problems in edit mode:
@@ -254,11 +250,6 @@ class SkinStandard extends Skin {
                        if ($articleExists && $action !='history') {
                                $s .= $sep . $this->historyLink();
                        }
-                       $s.=$sep . $this->whatLinksHere();
-
-                       if($wgOut->isArticleRelated()) {
-                               $s .= $sep . $this->watchPageLinksLink();
-                       }
 
                        if ( NS_USER == $wgTitle->getNamespace()
                                || $wgTitle->getNamespace() == NS_USER_TALK ) {