From: Domas Mituzas Date: Sat, 14 Jan 2006 10:25:34 +0000 (+0000) Subject: remove cruft (all these names are resolved in buildSidebar) X-Git-Tag: 1.6.0~553 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=0a6d61b1a0785d5a8f1de2c8bc4b87975077d947;p=lhc%2Fweb%2Fwiklou.git remove cruft (all these names are resolved in buildSidebar) --- diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index 37acb78953..8f1711c96f 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -764,15 +764,6 @@ class SkinTemplate extends Skin { $diff = $wgRequest->getVal( 'diff' ); $nav_urls = array(); - $nav_urls['mainpage'] = array('href' => $this->makeI18nUrl('mainpage')); - $nav_urls['randompage'] = array('href' => $this->makeSpecialUrl('Random')); - $nav_urls['recentchanges'] = array('href' => $this->makeSpecialUrl('Recentchanges')); - $nav_urls['currentevents'] = (wfMsgForContent('currentevents') != '-') ? array('href' => $this->makeI18nUrl('currentevents')) : false; - $nav_urls['portal'] = (wfMsgForContent('portal') != '-') ? array('href' => $this->makeI18nUrl('portal-url')) : false; - $nav_urls['bugreports'] = array('href' => $this->makeI18nUrl('bugreportspage')); - // $nav_urls['sitesupport'] = array('href' => $this->makeI18nUrl('sitesupportpage')); - $nav_urls['sitesupport'] = array('href' => $wgSiteSupportPage); - $nav_urls['help'] = array('href' => $this->makeI18nUrl('helppage')); if( $wgEnableUploads ) { if ($wgUploadNavigationUrl) { $nav_urls['upload'] = array('href' => $wgUploadNavigationUrl );