r48929 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48928‎ | r48929 | r48930 >
Date:20:12, 27 March 2009
Author:nad
Status:deferred
Tags:
Comment:
change protect-unchain message to security-unchain to avoid conflict in i18n
Modified paths:
  • /trunk/extensions/SimpleSecurity/SimpleSecurity.i18n.php (modified) (history)
  • /trunk/extensions/SimpleSecurity/SimpleSecurity_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SimpleSecurity/SimpleSecurity_body.php
@@ -33,6 +33,7 @@
3434
3535 # Load messages
3636 wfLoadExtensionMessages ( 'SimpleSecurity' );
 37+ $wgMessageCache->addMessages( array( 'protect-unchain' => wfMsg( 'security-unchain' ) ) );
3738 $wgMessageCache->addMessages( array( 'badaccess-group1' => wfMsg( 'badaccess-group0' ) ) );
3839 $wgMessageCache->addMessages( array( 'badaccess-group2' => wfMsg( 'badaccess-group0' ) ) );
3940 $wgMessageCache->addMessages( array( 'badaccess-groups' => wfMsg( 'badaccess-group0' ) ) );
Index: trunk/extensions/SimpleSecurity/SimpleSecurity.i18n.php
@@ -27,7 +27,7 @@
2828 'security-desc-CR' => "''(this restriction is '''in effect now''')''",
2929 'security-infosysops' => "No restrictions are in effect because you are a member of the '''sysop''' group",
3030 'security-manygroups' => 'groups $1 and $2',
31 - # 'protect-unchain' => 'Modify actions individually', # message key conflicts with core. Do not translate or duplicate this message to other languages
 31+ 'security-unchain' => 'Modify actions individually',
3232 );
3333
3434 /** Message documentation (Message documentation)

Status & tagging log