From: Brion Vibber Date: Tue, 3 Jan 2006 21:18:58 +0000 (+0000) Subject: Revert 'user files' link; the support for it was already reverted. X-Git-Tag: 1.6.0~782 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=37c541b29b4d60cb3a8f463d5463714fa9b103d2;p=lhc%2Fweb%2Fwiklou.git 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. --- 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]) { ?>