if ( $wgUser->isAllowed( 'editinterface' ) ) {
$skin = $wgUser->getSkin();
- $title = Title::newFromText( 'filedelete-reason-dropdown', NS_MEDIAWIKI );
+ $title = Title::newFromText( 'Filedelete-reason-dropdown', NS_MEDIAWIKI );
$link = $skin->link(
$title,
wfMsgHtml( 'filedelete-edit-reasonlist' ),
$out .= Xml::closeElement( 'fieldset' );
if ( $wgUser->isAllowed( 'editinterface' ) ) {
- $title = Title::newFromText( 'protect-dropdown', NS_MEDIAWIKI );
+ $title = Title::newFromText( 'Protect-dropdown', NS_MEDIAWIKI );
$link = $wgUser->getSkin()->link(
$title,
wfMsgHtml( 'protect-edit-reasonlist' ),
$links[] = $this->getContribsLink( $skin );
$links[] = $this->getUnblockLink( $skin );
$links[] = $this->getBlockListLink( $skin );
- $links[] = $skin->makeLink ( 'MediaWiki:Ipbreason-dropdown', wfMsgHtml( 'ipb-edit-dropdown' ) );
+ $title = Title::newFromText( 'Ipbreason-dropdown', NS_MEDIAWIKI );
+ $links[] = $skin->link(
+ $title,
+ wfMsgHtml( 'ipb-edit-dropdown' ),
+ array(),
+ array( 'action' => 'edit' )
+ );
return '<p class="mw-ipb-conveniencelinks">' . $wgLang->pipeList( $links ) . '</p>';
}