private function getConvenienceLinks() {
global $wgUser;
$skin = $wgUser->getSkin();
- $links[] = $skin->makeLink ( 'MediaWiki:Ipbreason-dropdown', wfMsgHtml( 'ipb-edit-dropdown' ) );
+ $contribsPage = SpecialPage::getTitleFor( 'Contributions', $this->BlockAddress );
+ $links[] = $skin->link( $contribsPage, wfMsgHtml( 'ipb-blocklist-contibs', $this->BlockAddress ) );
$links[] = $this->getUnblockLink( $skin );
$links[] = $this->getBlockListLink( $skin );
+ $links[] = $skin->makeLink ( 'MediaWiki:Ipbreason-dropdown', wfMsgHtml( 'ipb-edit-dropdown' ) );
return '<p class="mw-ipb-conveniencelinks">' . implode( ' | ', $links ) . '</p>';
}
'ipb-edit-dropdown' => 'Edit block reasons',
'ipb-unblock-addr' => 'Unblock $1',
'ipb-unblock' => 'Unblock a username or IP address',
-'ipb-blocklist-addr' => 'View existing blocks for $1',
+'ipb-blocklist-addr' => 'Existing blocks for $1',
'ipb-blocklist' => 'View existing blocks',
+'ipb-blocklist-contibs' => 'Contributions for $1',
'unblockip' => 'Unblock user',
'unblockiptext' => 'Use the form below to restore write access to a previously blocked IP address or username.',
'ipusubmit' => 'Unblock this address',