From 37c541b29b4d60cb3a8f463d5463714fa9b103d2 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 3 Jan 2006 21:18:58 +0000 Subject: [PATCH] Revert 'user files' link; the support for it was already reverted. Done properly this would need a new index; it should not be done on Newimages, which is time-sorted. --- includes/SkinTemplate.php | 5 +---- languages/Language.php | 1 - skins/MonoBook.php | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index 7878a1b88d..fbb95fbb2b 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -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() ) diff --git a/languages/Language.php b/languages/Language.php index 154eded065..dadcb041ec 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -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.', diff --git a/skins/MonoBook.php b/skins/MonoBook.php index 99bb6e8c0f..61e4e77a6c 100644 --- a/skins/MonoBook.php +++ b/skins/MonoBook.php @@ -193,7 +193,7 @@ class MonoBookTemplate extends QuickTemplate { data['nav_urls'][$special]) { ?>