Revision: 51493 Author: siebrand Date: 2009-06-05 07:33:57 +0000 (Fri, 05 Jun 2009)
Log Message: ----------- Follow-up to r51084: * address case sensitivity issue raised by Splarka on CR * also change to edit link on Special:Block Modified Paths: -------------- trunk/phase3/includes/FileDeleteForm.php trunk/phase3/includes/ProtectionForm.php trunk/phase3/includes/specials/SpecialBlockip.php Modified: trunk/phase3/includes/FileDeleteForm.php =================================================================== --- trunk/phase3/includes/FileDeleteForm.php 2009-06-05 06:36:31 UTC (rev 51492) +++ trunk/phase3/includes/FileDeleteForm.php 2009-06-05 07:33:57 UTC (rev 51493) @@ -194,7 +194,7 @@ 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' ), Modified: trunk/phase3/includes/ProtectionForm.php =================================================================== --- trunk/phase3/includes/ProtectionForm.php 2009-06-05 06:36:31 UTC (rev 51492) +++ trunk/phase3/includes/ProtectionForm.php 2009-06-05 07:33:57 UTC (rev 51493) @@ -447,7 +447,7 @@ $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' ), Modified: trunk/phase3/includes/specials/SpecialBlockip.php =================================================================== --- trunk/phase3/includes/specials/SpecialBlockip.php 2009-06-05 06:36:31 UTC (rev 51492) +++ trunk/phase3/includes/specials/SpecialBlockip.php 2009-06-05 07:33:57 UTC (rev 51493) @@ -636,7 +636,13 @@ $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>'; } _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs