From: Gabriel Wicke Date: Wed, 7 Apr 2004 14:20:57 +0000 (+0000) Subject: '' instead of '-' to disable nav items X-Git-Tag: 1.3.0beta1~566 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=18ccb69c373c90a18f08c05fd28af4026509ded0;p=lhc%2Fweb%2Fwiklou.git '' instead of '-' to disable nav items --- diff --git a/includes/Skin.php b/includes/Skin.php index 21a35fd7cb..00d63f03f1 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -433,7 +433,7 @@ class Skin { $action = $wgRequest->getText( 'action' ); $s = $this->printableLink(); - if ( wfMsg ( "disclaimers" ) != "-" ) $s .= " | " . $this->makeKnownLink( wfMsg( "disclaimerpage" ), wfMsg( "disclaimers" ) ) ; + if ( wfMsg ( "disclaimers" ) != "" ) $s .= " | " . $this->makeKnownLink( wfMsg( "disclaimerpage" ), wfMsg( "disclaimers" ) ) ; if ( $wgOut->isArticleRelated() ) { if ( $wgTitle->getNamespace() == Namespace::getImage() ) { @@ -752,7 +752,7 @@ class Skin { } // only show watchlist link if logged in - if ( wfMsg ( "currentevents" ) != "-" ) $s .= $sep . $this->makeKnownLink( wfMsg( "currentevents" ), "" ) ; + if ( wfMsg ( "currentevents" ) != "" ) $s .= $sep . $this->makeKnownLink( wfMsg( "currentevents" ), "" ) ; $s .= "\n

"; $articleExists = $wgTitle->getArticleId(); if ( $wgOut->isArticle() || $action =="edit" || $action =="history" || $wpPreview) {