r41535 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41534‎ | r41535 | r41536 >
Date:09:18, 2 October 2008
Author:mattj
Status:old
Tags:
Comment:
Fix 41533 - Update message name to be more descriptive
Modified paths:
  • /trunk/phase3/includes/specials/SpecialIpblocklist.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialIpblocklist.php
@@ -303,7 +303,7 @@
304304 if( is_null( $msg ) ) {
305305 $msg = array();
306306 $keys = array( 'infiniteblock', 'expiringblock', 'unblocklink',
307 - 'anononlyblock', 'createaccountblock', 'noautoblockblock', 'emailblock', 'nousertalk' );
 307+ 'anononlyblock', 'createaccountblock', 'noautoblockblock', 'emailblock', 'blocklist-nousertalk' );
308308 foreach( $keys as $key ) {
309309 $msg[$key] = wfMsgHtml( $key );
310310 }
@@ -343,7 +343,7 @@
344344 }
345345
346346 if ( !$block->mAllowUsertalk && $wgBlockAllowsUTEdit ) {
347 - $properties[] = $msg['nousertalk'];
 347+ $properties[] = $msg['blocklist-nousertalk'];
348348 }
349349
350350 $properties = implode( ', ', $properties );
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -2530,7 +2530,7 @@
25312531 'noautoblockblock' => 'autoblock disabled',
25322532 'createaccountblock' => 'account creation blocked',
25332533 'emailblock' => 'e-mail blocked',
2534 -'nousertalk' => 'cannot edit usertalk',
 2534+'blocklist-nousertalk' => 'cannot edit their own talk page',
25352535 'ipblocklist-empty' => 'The blocklist is empty.',
25362536 'ipblocklist-no-results' => 'The requested IP address or username is not blocked.',
25372537 'blocklink' => 'block',

Status & tagging log