From: Ævar Arnfjörð Bjarmason Date: Mon, 23 May 2005 14:35:36 +0000 (+0000) Subject: * Removed $wgNavigationLinks, doesn't have any effect X-Git-Tag: 1.5.0alpha2~117 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=03f69cb0c2d595fb9b69518a442df61b05d5d7e0;p=lhc%2Fweb%2Fwiklou.git * Removed $wgNavigationLinks, doesn't have any effect --- 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' ),