From: Gabriel Wicke Date: Tue, 27 Apr 2004 22:54:47 +0000 (+0000) Subject: hide currentevents and disclaimer for '-' X-Git-Tag: 1.3.0beta1~236 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%2C%22id_auteur=%24connecte%22%29%20.%20%22?a=commitdiff_plain;h=c978cb639baf20dcac5cdf5de693686dfae545bd;p=lhc%2Fweb%2Fwiklou.git hide currentevents and disclaimer for '-' --- diff --git a/includes/Skin.php b/includes/Skin.php index 6e80f9aa61..f6cbadd99e 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -452,7 +452,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() ) { @@ -893,7 +893,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) {