}
# Block log link
$tools[] = $sk->linkKnown(
- SpecialPage::getTitleFor( 'Log' ),
- wfMsgHtml( 'sp-contributions-blocklog' ),
- array(),
- array(
- 'type' => 'block',
- 'page' => $userpage->getPrefixedText()
- )
+ SpecialPage::getTitleFor( 'Log', 'block/' . $username ),
+ wfMsgHtml( 'sp-contributions-blocklog' )
);
}
# Uploads
# Other logs link
$tools[] = $sk->linkKnown(
- SpecialPage::getTitleFor( 'Log' ),
- wfMsgHtml( 'sp-contributions-logs' ),
- array(),
- array( 'user' => $username )
+ SpecialPage::getTitleFor( 'Log', $username ),
+ wfMsgHtml( 'sp-contributions-logs' )
);
# Add link to deleted user contributions for priviledged users