From a190324f3b67c1c65d13cd69e2c91b074a5b7010 Mon Sep 17 00:00:00 2001 From: Rotem Liss Date: Sat, 1 Sep 2007 17:50:25 +0000 Subject: [PATCH] Use standard URL for contributions page. --- includes/WatchlistEditor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/WatchlistEditor.php b/includes/WatchlistEditor.php index 525820476c..e03225a301 100644 --- a/includes/WatchlistEditor.php +++ b/includes/WatchlistEditor.php @@ -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 '
  • ' . Xml::check( 'titles[]', false, array( 'value' => $title->getPrefixedText() ) ) -- 2.20.1