* Removed messages in English, they'll be inherited from the parent.
[lhc/web/wiklou.git] / includes / SkinTemplate.php
index 7fd5adc..8404dbc 100644 (file)
@@ -701,11 +701,11 @@ class SkinTemplate extends Skin {
                        if ($text != '-') {
                                $dest = wfMsgForContent( $link['href'] );
                                wfProfileIn( "$fname-{$link['text']}2" );
-                           $result[] = array(
-                                                                 'text' => $text,
-                                                                 'href' => $this->makeInternalOrExternalUrl( $dest ),
-                                                                 'id' => 'n-'.$link['text']
-                                                                 );
+                               $result[] = array(
+                                       'text' => $text,
+                                       'href' => $this->makeInternalOrExternalUrl( $dest ),
+                                       'id' => 'n-'.$link['text']
+                               );
                                wfProfileOut( "$fname-{$link['text']}2" );
                        }
                        wfProfileOut( "$fname-{$link['text']}" );
@@ -741,7 +741,7 @@ class SkinTemplate extends Skin {
                $nav_urls['sitesupport'] = array('href' => $wgSiteSupportPage);
                $nav_urls['help'] = array('href' => $this->makeI18nUrl('helppage'));
                if( $wgEnableUploads ) {
-                       if (isset($wgUploadNavigationUrl)) {
+                       if ($wgUploadNavigationUrl) {
                                $nav_urls['upload'] = array('href' => $wgUploadNavigationUrl );                 
                        } else {                        
                                $nav_urls['upload'] = array('href' => $this->makeSpecialUrl('Upload'));