From: Siebrand Mazeland Date: Fri, 5 Jun 2009 07:33:57 +0000 (+0000) Subject: Follow-up to r51084: X-Git-Tag: 1.31.0-rc.0~41496 X-Git-Url: http://git.cyclocoop.org//%27http:/code.google.com/p/ie7-js//%27?a=commitdiff_plain;h=e17b75e76aab9edeb5e3a4dd3e86558e025d0b38;p=lhc%2Fweb%2Fwiklou.git Follow-up to r51084: * address case sensitivity issue raised by Splarka on CR * also change to edit link on Special:Block --- diff --git a/includes/FileDeleteForm.php b/includes/FileDeleteForm.php index 9491fd23b7..a95836411a 100644 --- a/includes/FileDeleteForm.php +++ b/includes/FileDeleteForm.php @@ -194,7 +194,7 @@ class FileDeleteForm { 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' ), diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index ec23046ab7..b1f7d65da9 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -447,7 +447,7 @@ class ProtectionForm { $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' ), diff --git a/includes/specials/SpecialBlockip.php b/includes/specials/SpecialBlockip.php index b4a7b5f363..488c559081 100644 --- a/includes/specials/SpecialBlockip.php +++ b/includes/specials/SpecialBlockip.php @@ -636,7 +636,13 @@ class IPBlockForm { $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 ''; }