From: Siebrand Mazeland Date: Fri, 4 Dec 2009 09:34:30 +0000 (+0000) Subject: Add separate message for special page title, as 'blockip' is also used in the tools... X-Git-Tag: 1.31.0-rc.0~38634 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=f4b5c0d943522a827eea9520264c04be51b6e24b;p=lhc%2Fweb%2Fwiklou.git Add separate message for special page title, as 'blockip' is also used in the tools portlet on user pages. --- diff --git a/includes/specials/SpecialBlockip.php b/includes/specials/SpecialBlockip.php index c3e5dcc7af..dd2ed997b2 100644 --- a/includes/specials/SpecialBlockip.php +++ b/includes/specials/SpecialBlockip.php @@ -82,7 +82,7 @@ class IPBlockForm { public function showForm( $err ) { global $wgOut, $wgUser, $wgSysopUserBans; - $wgOut->setPageTitle( wfMsg( 'blockip' ) ); + $wgOut->setPageTitle( wfMsg( 'blockip-title' ) ); $wgOut->addWikiMsg( 'blockiptext' ); if( $wgSysopUserBans ) { @@ -609,7 +609,7 @@ class IPBlockForm { public function showSuccess() { global $wgOut; - $wgOut->setPageTitle( wfMsg( 'blockip' ) ); + $wgOut->setPageTitle( wfMsg( 'blockip-title' ) ); $wgOut->setSubtitle( wfMsg( 'blockipsuccesssub' ) ); $text = wfMsgExt( 'blockipsuccesstext', array( 'parse' ), $this->BlockAddress ); $wgOut->addHTML( $text ); diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 295f723c82..32132158a2 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -2849,6 +2849,7 @@ The latest block log entry is provided below for reference:', # Block/unblock 'blockip' => 'Block user', +'blockip-title' => 'Block user', 'blockip-legend' => 'Block user', 'blockiptext' => 'Use the form below to block write access from a specific IP address or username. This should be done only to prevent vandalism, and in accordance with [[{{MediaWiki:Policy-url}}|policy]]. diff --git a/maintenance/language/messages.inc b/maintenance/language/messages.inc index 737dd65498..41e91afdab 100644 --- a/maintenance/language/messages.inc +++ b/maintenance/language/messages.inc @@ -1895,6 +1895,7 @@ $wgMessageStructure = array( ), 'block' => array( 'blockip', + 'blockip-title', 'blockip-legend', 'blockiptext', 'ipaddress',