r86766 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86765‎ | r86766 | r86767 >
Date:13:40, 23 April 2011
Author:raymond
Status:ok
Tags:
Comment:
Simplify a bit to make nicer links: Special:ListFiles/Username
Modified paths:
  • /trunk/phase3/includes/specials/SpecialContributions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialContributions.php
@@ -279,10 +279,8 @@
280280 }
281281 # Uploads
282282 $tools[] = $sk->linkKnown(
283 - SpecialPage::getTitleFor( 'Listfiles' ),
284 - wfMsgHtml( 'sp-contributions-uploads' ),
285 - array(),
286 - array( 'user' => $username )
 283+ SpecialPage::getTitleFor( 'Listfiles', $username ),
 284+ wfMsgHtml( 'sp-contributions-uploads' )
287285 );
288286
289287 # Other logs link

Status & tagging log