From d828daf4be885f230262b4023f5a21fc6463eabd Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Thu, 2 Oct 2008 09:18:50 +0000 Subject: [PATCH] Fix 41533 - Update message name to be more descriptive --- includes/specials/SpecialIpblocklist.php | 4 ++-- languages/messages/MessagesEn.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/specials/SpecialIpblocklist.php b/includes/specials/SpecialIpblocklist.php index 6bd53f150a..5a7ce26287 100644 --- a/includes/specials/SpecialIpblocklist.php +++ b/includes/specials/SpecialIpblocklist.php @@ -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 ); diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index bc91470135..e2f1ddfda3 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -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', -- 2.20.1