Revert 'user files' link; the support for it was already reverted.
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 3 Jan 2006 21:18:58 +0000 (21:18 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 3 Jan 2006 21:18:58 +0000 (21:18 +0000)
Done properly this would need a new index; it should not be done on Newimages, which is time-sorted.

includes/SkinTemplate.php
languages/Language.php
skins/MonoBook.php

index 7878a1b..fbb95fb 100644 (file)
@@ -841,13 +841,10 @@ class SkinTemplate extends Skin {
                        $ip = false;
                }
 
-               if($id || $ip) { # both anons and non-anons have contribution list
+               if($id || $ip) { # both anons and non-anons have contri list
                        $nav_urls['contributions'] = array(
                                'href' => $this->makeSpecialUrl('Contributions/' . $this->mTitle->getText() )
                        );
-                       $nav_urls['userfiles'] = array(
-                               'href' => $this->makeSpecialUrl('Newimages/' . $this->mTitle->getText() )
-                       );
                        if ( $wgUser->isAllowed( 'protect' ) )
                                $nav_urls['blockip'] = array(
                                        'href' => $this->makeSpecialUrl( 'Blockip/' . $this->mTitle->getText() )
index 154eded..dadcb04 100644 (file)
@@ -1418,7 +1418,6 @@ See [[Special:Log/delete]] for a record of recent deletions and restorations.",
 # Contributions
 #
 'contributions' => 'User contributions',
-'userfiles'     => 'User files',
 'mycontris'     => 'My contributions',
 'contribsub'    => "For $1",
 'nocontribs'    => 'No changes were found matching these criteria.',
index 99bb6e8..61e4e77 100644 (file)
@@ -193,7 +193,7 @@ class MonoBookTemplate extends QuickTemplate {
                                        <?php } ?></li><?php
                } 
 
-               foreach( array('contributions', 'userfiles', 'blockip', 'emailuser', 'upload', 'specialpages') as $special ) {
+               foreach( array('contributions', 'blockip', 'emailuser', 'upload', 'specialpages') as $special ) {
 
                        if($this->data['nav_urls'][$special]) {
                                ?><li id="t-<?php echo $special ?>"><a href="<?php echo htmlspecialchars($this->data['nav_urls'][$special]['href'])