r25393 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25392‎ | r25393 | r25394 >
Date:17:50, 1 September 2007
Author:rotem
Status:old
Tags:
Comment:
Use standard URL for contributions page.
Modified paths:
  • /trunk/phase3/includes/WatchlistEditor.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/WatchlistEditor.php
@@ -415,7 +415,7 @@
416416 $tools[] = $skin->makeKnownLinkObj( $title, wfMsgHtml( 'history_short' ), 'action=history' );
417417 }
418418 if( $title->getNamespace() == NS_USER && !$title->isSubpage() ) {
419 - $tools[] = $skin->makeKnownLinkObj( SpecialPage::getTitleFor( 'Contributions' ), wfMsgHtml( 'contributions' ), 'target=' . $title->getPartialUrl() );
 419+ $tools[] = $skin->makeKnownLinkObj( SpecialPage::getTitleFor( 'Contributions', $title->getText() ), wfMsgHtml( 'contributions' ) );
420420 }
421421 return '<li>'
422422 . Xml::check( 'titles[]', false, array( 'value' => $title->getPrefixedText() ) )

Follow-up revisions

RevisionCommit summaryAuthorDate
r25415Merged revisions 25372-25414 via svnmerge from...david21:15, 2 September 2007

Status & tagging log