Add separate message for special page title, as 'blockip' is also used in the tools...
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Fri, 4 Dec 2009 09:34:30 +0000 (09:34 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Fri, 4 Dec 2009 09:34:30 +0000 (09:34 +0000)
includes/specials/SpecialBlockip.php
languages/messages/MessagesEn.php
maintenance/language/messages.inc

index c3e5dcc..dd2ed99 100644 (file)
@@ -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 );
index 295f723..3213215 100644 (file)
@@ -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]].
index 737dd65..41e91af 100644 (file)
@@ -1895,6 +1895,7 @@ $wgMessageStructure = array(
        ),
        'block' => array(
                'blockip',
+               'blockip-title',
                'blockip-legend',
                'blockiptext',
                'ipaddress',