From 03f69cb0c2d595fb9b69518a442df61b05d5d7e0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Mon, 23 May 2005 14:35:36 +0000 Subject: [PATCH] * Removed $wgNavigationLinks, doesn't have any effect --- skins/CologneBlue.php | 11 +---------- skins/Standard.php | 12 +----------- 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/skins/CologneBlue.php b/skins/CologneBlue.php index 6a8c8a5975..d1ef0946a0 100644 --- a/skins/CologneBlue.php +++ b/skins/CologneBlue.php @@ -171,7 +171,7 @@ class SkinCologneBlue extends Skin { */ function quickBar() { - global $wgOut, $wgTitle, $wgUser, $wgLang, $wgContLang, $wgEnableUploads, $wgNavigationLinks; + global $wgOut, $wgTitle, $wgUser, $wgLang, $wgContLang, $wgEnableUploads; $tns=$wgTitle->getNamespace(); @@ -183,15 +183,6 @@ class SkinCologneBlue extends Skin { $s .= $this->menuHead( "qbbrowse" ); - foreach ( $wgNavigationLinks as $link ) { - $msg = wfMsgForContent( $link['href'] ); - $text = wfMsg( $link['text'] ); - if ( $msg != '-' && $text != '-' ) { - $s .= '' . - htmlspecialchars( $text ) . '' . $sep; - } - } - if ( $wgOut->isArticle() ) { $s .= $this->menuHead( "qbedit" ); $s .= "" . $this->editThisPage() . ""; diff --git a/skins/Standard.php b/skins/Standard.php index 44c1a4fe3c..6ef32d9ed8 100644 --- a/skins/Standard.php +++ b/skins/Standard.php @@ -132,7 +132,7 @@ class SkinStandard extends Skin { function quickBar() { global $wgOut, $wgTitle, $wgUser, $wgRequest, $wgContLang; - global $wgEnableUploads, $wgRemoteUploads, $wgNavigationLinks; + global $wgEnableUploads, $wgRemoteUploads; $fname = 'Skin::quickBar'; wfProfileIn( $fname ); @@ -146,16 +146,6 @@ class SkinStandard extends Skin { $sep = "\n
"; - foreach ( $wgNavigationLinks as $link ) { - $msg = wfMsgForContent( $link['href'] ); - $text = wfMsg( $link['text'] ); - if ( $msg != '-' && $text != '-' ) { - $s .= '' . - htmlspecialchars( $text ) . '' . $sep; - } - } - - if( $wgUser->isLoggedIn() ) { $s.= $this->specialLink( 'watchlist' ) ; $s .= $sep . $this->makeKnownLink( $wgContLang->specialPage( 'Contributions' ), -- 2.20.1