Revert r25349 and offspring; the watchlist editor shows titles, not users - a contrib...
authorRob Church <robchurch@users.mediawiki.org>
Sat, 1 Sep 2007 17:57:55 +0000 (17:57 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Sat, 1 Sep 2007 17:57:55 +0000 (17:57 +0000)
RELEASE-NOTES
includes/WatchlistEditor.php

index d5f897c..606c584 100644 (file)
@@ -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 ==
 
index e03225a..cdc9f0e 100644 (file)
@@ -411,12 +411,8 @@ class WatchlistEditor {
                if( $redirect )
                        $link = '<span class="watchlistredir">' . $link . '</span>';
                $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 '<li>'
                        . Xml::check( 'titles[]', false, array( 'value' => $title->getPrefixedText() ) )
                        . $link . ' (' . implode( ' | ', $tools ) . ')' . '</li>';