From: Rob Church Date: Sat, 1 Sep 2007 17:57:55 +0000 (+0000) Subject: Revert r25349 and offspring; the watchlist editor shows titles, not users - a contrib... X-Git-Tag: 1.31.0-rc.0~51564 X-Git-Url: http://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=d6851860f8480cdaab7de6ebee653ace5767bbaf;p=lhc%2Fweb%2Fwiklou.git Revert r25349 and offspring; the watchlist editor shows titles, not users - a contributions link is not appropriate here, nor is it useful --- 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 ) . ')' . '
  • ';