From 68e241b663426eaf35d7dec506520aa7fec30a46 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Thu, 9 Jun 2011 21:31:51 +0000 Subject: [PATCH] Self revert r89797: At least the block log link is wrong. I should not commit when bed calls me :/ --- includes/specials/SpecialContributions.php | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index 5e339d450d..a9afbc6487 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -259,8 +259,13 @@ class SpecialContributions extends SpecialPage { } # Block log link $tools[] = $sk->linkKnown( - SpecialPage::getTitleFor( 'Log', 'block/' . $username ), - wfMsgHtml( 'sp-contributions-blocklog' ) + SpecialPage::getTitleFor( 'Log' ), + wfMsgHtml( 'sp-contributions-blocklog' ), + array(), + array( + 'type' => 'block', + 'page' => $userpage->getPrefixedText() + ) ); } # Uploads @@ -271,8 +276,10 @@ class SpecialContributions extends SpecialPage { # Other logs link $tools[] = $sk->linkKnown( - SpecialPage::getTitleFor( 'Log', $username ), - wfMsgHtml( 'sp-contributions-logs' ) + SpecialPage::getTitleFor( 'Log' ), + wfMsgHtml( 'sp-contributions-logs' ), + array(), + array( 'user' => $username ) ); # Add link to deleted user contributions for priviledged users -- 2.20.1