if( $wgUser->isAllowed( 'editinterface' ) ) {
$skin = $wgUser->getSkin();
- $title = Title::newFromText( 'Deletereason-dropdown', NS_MEDIAWIKI );
+ $title = Title::makeTitle( NS_MEDIAWIKI, 'Deletereason-dropdown' );
$link = $skin->link(
$title,
wfMsgHtml( 'delete-edit-reasonlist' ),
if ( $wgUser->isAllowed( 'editinterface' ) ) {
$skin = $wgUser->getSkin();
- $title = Title::newFromText( 'Filedelete-reason-dropdown', NS_MEDIAWIKI );
+ $title = Title::makeTitle( NS_MEDIAWIKI, 'Filedelete-reason-dropdown' );
$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::makeTitle( NS_MEDIAWIKI, 'Protect-dropdown' );
$link = $wgUser->getSkin()->link(
$title,
wfMsgHtml( 'protect-edit-reasonlist' ),
$links[] = $this->getContribsLink( $skin );
$links[] = $this->getUnblockLink( $skin );
$links[] = $this->getBlockListLink( $skin );
- $title = Title::newFromText( 'Ipbreason-dropdown', NS_MEDIAWIKI );
+ $title = Title::makeTitle( NS_MEDIAWIKI, 'Ipbreason-dropdown' );
$links[] = $skin->link(
$title,
wfMsgHtml( 'ipb-edit-dropdown' ),