From d6851860f8480cdaab7de6ebee653ace5767bbaf Mon Sep 17 00:00:00 2001 From: Rob Church Date: Sat, 1 Sep 2007 17:57:55 +0000 Subject: [PATCH] Revert r25349 and offspring; the watchlist editor shows titles, not users - a contributions link is not appropriate here, nor is it useful --- RELEASE-NOTES | 1 - includes/WatchlistEditor.php | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index d5f897ce6c..606c58419e 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -194,7 +194,6 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN text for a non-existent page * (bug 11022) Use a more accurate page title for Special:Whatlinkshere and Special:Recentchangeslinked -* Add link to user contributions in normal watchlist edit mode == Bugfixes since 1.10 == diff --git a/includes/WatchlistEditor.php b/includes/WatchlistEditor.php index e03225a301..cdc9f0ee33 100644 --- a/includes/WatchlistEditor.php +++ b/includes/WatchlistEditor.php @@ -411,12 +411,8 @@ class WatchlistEditor { if( $redirect ) $link = '' . $link . ''; $tools[] = $skin->makeLinkObj( $title->getTalkPage(), wfMsgHtml( 'talkpagelinktext' ) ); - if( $title->exists() ) { + if( $title->exists() ) $tools[] = $skin->makeKnownLinkObj( $title, wfMsgHtml( 'history_short' ), 'action=history' ); - } - if( $title->getNamespace() == NS_USER && !$title->isSubpage() ) { - $tools[] = $skin->makeKnownLinkObj( SpecialPage::getTitleFor( 'Contributions', $title->getText() ), wfMsgHtml( 'contributions' ) ); - } return '
  • ' . Xml::check( 'titles[]', false, array( 'value' => $title->getPrefixedText() ) ) . $link . ' (' . implode( ' | ', $tools ) . ')' . '
  • '; -- 2.20.1