From: Raimond Spekking Date: Thu, 9 Jun 2011 21:31:51 +0000 (+0000) Subject: Self revert r89797: At least the block log link is wrong. I should not commit when... X-Git-Tag: 1.31.0-rc.0~29600 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=68e241b663426eaf35d7dec506520aa7fec30a46;p=lhc%2Fweb%2Fwiklou.git Self revert r89797: At least the block log link is wrong. I should not commit when bed calls me :/ --- 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