Fix 41533 - Update message name to be more descriptive
authorMatt Johnston <mattj@users.mediawiki.org>
Thu, 2 Oct 2008 09:18:50 +0000 (09:18 +0000)
committerMatt Johnston <mattj@users.mediawiki.org>
Thu, 2 Oct 2008 09:18:50 +0000 (09:18 +0000)
includes/specials/SpecialIpblocklist.php
languages/messages/MessagesEn.php

index 6bd53f1..5a7ce26 100644 (file)
@@ -303,7 +303,7 @@ class IPUnblockForm {
                if( is_null( $msg ) ) {
                        $msg = array();
                        $keys = array( 'infiniteblock', 'expiringblock', 'unblocklink',
-                               'anononlyblock', 'createaccountblock', 'noautoblockblock', 'emailblock', 'nousertalk' );
+                               'anononlyblock', 'createaccountblock', 'noautoblockblock', 'emailblock', 'blocklist-nousertalk' );
                        foreach( $keys as $key ) {
                                $msg[$key] = wfMsgHtml( $key );
                        }
@@ -343,7 +343,7 @@ class IPUnblockForm {
                }
                
                if ( !$block->mAllowUsertalk && $wgBlockAllowsUTEdit ) {
-                       $properties[] = $msg['nousertalk'];
+                       $properties[] = $msg['blocklist-nousertalk'];
                }
 
                $properties = implode( ', ', $properties );
index bc91470..e2f1ddf 100644 (file)
@@ -2530,7 +2530,7 @@ See [[Special:IPBlockList|IP block list]] to review blocks.',
 'noautoblockblock'                => 'autoblock disabled',
 'createaccountblock'              => 'account creation blocked',
 'emailblock'                      => 'e-mail blocked',
-'nousertalk'                      => 'cannot edit usertalk',
+'blocklist-nousertalk'            => 'cannot edit their own talk page',
 'ipblocklist-empty'               => 'The blocklist is empty.',
 'ipblocklist-no-results'          => 'The requested IP address or username is not blocked.',
 'blocklink'                       => 'block',