Use standard URL for contributions page.
authorRotem Liss <rotem@users.mediawiki.org>
Sat, 1 Sep 2007 17:50:25 +0000 (17:50 +0000)
committerRotem Liss <rotem@users.mediawiki.org>
Sat, 1 Sep 2007 17:50:25 +0000 (17:50 +0000)
includes/WatchlistEditor.php

index 5258204..e03225a 100644 (file)
@@ -415,7 +415,7 @@ class WatchlistEditor {
                        $tools[] = $skin->makeKnownLinkObj( $title, wfMsgHtml( 'history_short' ), 'action=history' );
                }
                if( $title->getNamespace() == NS_USER && !$title->isSubpage() ) {
-                       $tools[] = $skin->makeKnownLinkObj( SpecialPage::getTitleFor( 'Contributions' ), wfMsgHtml( 'contributions' ), 'target=' . $title->getPartialUrl() );
+                       $tools[] = $skin->makeKnownLinkObj( SpecialPage::getTitleFor( 'Contributions', $title->getText() ), wfMsgHtml( 'contributions' ) );
                }
                return '<li>'
                        . Xml::check( 'titles[]', false, array( 'value' => $title->getPrefixedText() ) )