From a7e84474ba740b645a87adb7e727dff58eb78fc8 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Thu, 6 Mar 2008 16:52:10 +0000 Subject: [PATCH] * (bug 13274) Change links for messages to ucfirst (relevant for case-sensitive wikis) --- RELEASE-NOTES | 1 + includes/Article.php | 2 +- includes/FileDeleteForm.php | 2 +- includes/SpecialBlockip.php | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 2fee7ee825..34a5ffa757 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -71,6 +71,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN back when using rollback * (bug 13012) Use content messages for block options when generating the recentchanges entry +* (bug 13274) Change links for messages to ucfirst === API changes in 1.13 === diff --git a/includes/Article.php b/includes/Article.php index b42994ec2b..8795371fdb 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -2130,7 +2130,7 @@ class Article { if ( $wgUser->isAllowed( 'editinterface' ) ) { $skin = $wgUser->getSkin(); - $link = $skin->makeLink ( 'MediaWiki:deletereason-dropdown', wfMsgHtml( 'delete-edit-reasonlist' ) ); + $link = $skin->makeLink ( 'MediaWiki:Deletereason-dropdown', wfMsgHtml( 'delete-edit-reasonlist' ) ); $form .= '

' . $link . '

'; } diff --git a/includes/FileDeleteForm.php b/includes/FileDeleteForm.php index 381a81b57b..13d35f45a7 100644 --- a/includes/FileDeleteForm.php +++ b/includes/FileDeleteForm.php @@ -154,7 +154,7 @@ class FileDeleteForm { if ( $wgUser->isAllowed( 'editinterface' ) ) { $skin = $wgUser->getSkin(); - $link = $skin->makeLink ( 'MediaWiki:filedelete-reason-dropdown', wfMsgHtml( 'filedelete-edit-reasonlist' ) ); + $link = $skin->makeLink ( 'MediaWiki:Filedelete-reason-dropdown', wfMsgHtml( 'filedelete-edit-reasonlist' ) ); $form .= '

' . $link . '

'; } diff --git a/includes/SpecialBlockip.php b/includes/SpecialBlockip.php index 43b843435d..24f1bca410 100644 --- a/includes/SpecialBlockip.php +++ b/includes/SpecialBlockip.php @@ -431,7 +431,7 @@ class IPBlockForm { private function getConvenienceLinks() { global $wgUser; $skin = $wgUser->getSkin(); - $links[] = $skin->makeLink ( 'MediaWiki:ipbreason-dropdown', wfMsgHtml( 'ipb-edit-dropdown' ) ); + $links[] = $skin->makeLink ( 'MediaWiki:Ipbreason-dropdown', wfMsgHtml( 'ipb-edit-dropdown' ) ); $links[] = $this->getUnblockLink( $skin ); $links[] = $this->getBlockListLink( $skin ); return ''; -- 2.20.1