r44780 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44779‎ | r44780 | r44781 >
Date:20:50, 18 December 2008
Author:aaron
Status:reverted (Comments)
Tags:
Comment:
Remove some less-useful redundant links from sidebar
Modified paths:
  • /trunk/phase3/skins/Standard.php (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/Standard.php
@@ -227,10 +227,6 @@
228228 # "Post a comment" link
229229 if( ( $wgTitle->isTalkPage() || $wgOut->showNewSectionLink() ) && $action != 'edit' && !$wpPreview )
230230 $s .= '<br />' . $this->makeKnownLinkObj( $wgTitle, wfMsg( 'postcomment' ), 'action=edit&section=new' );
231 -
232 - #if( $tns%2 && $action!='edit' && !$wpPreview) {
233 - #$s.= '<br />'.$this->makeKnownLink($wgTitle->getPrefixedText(),wfMsg('postcomment'),'action=edit&section=new');
234 - #}
235231
236232 /*
237233 watching could cause problems in edit mode:
@@ -254,12 +250,7 @@
255251 if ($articleExists && $action !='history') {
256252 $s .= $sep . $this->historyLink();
257253 }
258 - $s.=$sep . $this->whatLinksHere();
259254
260 - if($wgOut->isArticleRelated()) {
261 - $s .= $sep . $this->watchPageLinksLink();
262 - }
263 -
264255 if ( NS_USER == $wgTitle->getNamespace()
265256 || $wgTitle->getNamespace() == NS_USER_TALK ) {
266257

Follow-up revisions

RevisionCommit summaryAuthorDate
r45257* (bug 16786) Restored "redundant" links recently removed from Classic sidebar...brion21:31, 31 December 2008

Comments

#Comment by Brion VIBBER (talk | contribs)   21:31, 31 December 2008

Reverted in r45257

  • (bug 16786) Restored "redundant" links recently removed from Classic sidebar

Status & tagging log