r88713 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88712‎ | r88713 | r88714 >
Date:03:13, 24 May 2011
Author:werdna
Status:deferred
Tags:
Comment:
Rename properties to sound sane
Modified paths:
  • /trunk/extensions/SemanticACL/Messages.php (modified) (history)
  • /trunk/extensions/SemanticACL/SemanticACL.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticACL/SemanticACL.php
@@ -29,8 +29,8 @@
3030 wfMsgForContent('sacl-property-visibility-wl-user') );
3131
3232 SMWDIProperty::registerPropertyAlias( '___VISIBLE', 'Visible to' );
33 - SMWDIProperty::registerPropertyAlias( '___VISIBLE_WL_GROUP', 'View whitelisted group' );
34 - SMWDIProperty::registerPropertyAlias( '___VISIBLE_WL_USER', 'View whitelisted user' );
 33+ SMWDIProperty::registerPropertyAlias( '___VISIBLE_WL_GROUP', 'Visible to group' );
 34+ SMWDIProperty::registerPropertyAlias( '___VISIBLE_WL_USER', 'Visible to user' );
3535
3636 // Write restriction properties
3737 SMWDIProperty::registerProperty( '___EDITABLE', '_str',
@@ -41,8 +41,8 @@
4242 wfMsgForContent('sacl-property-editable-wl-user') );
4343
4444 SMWDIProperty::registerPropertyAlias( '___EDITABLE_BY', 'Editable by' );
45 - SMWDIProperty::registerPropertyAlias( '___EDITABLE_WL_GROUP', 'Edit whitelisted group' );
46 - SMWDIProperty::registerPropertyAlias( '___EDITABLE_WL_USER', 'Edit whitelisted user' );
 45+ SMWDIProperty::registerPropertyAlias( '___EDITABLE_WL_GROUP', 'Editable by group' );
 46+ SMWDIProperty::registerPropertyAlias( '___EDITABLE_WL_USER', 'Editable by user' );
4747
4848 return true;
4949 }
Index: trunk/extensions/SemanticACL/Messages.php
@@ -6,10 +6,10 @@
77 'right-sacl-exempt' => 'Exempt from Semantic ACLs',
88
99 'sacl-property-visibility' => 'Visible to',
10 - 'sacl-property-visibility-wl-group' => 'View whitelisted group',
11 - 'sacl-property-visibility-wl-user' => 'View whitelisted user',
 10+ 'sacl-property-visibility-wl-group' => 'Visible to group',
 11+ 'sacl-property-visibility-wl-user' => 'Visible to user',
1212
1313 'sacl-property-editable' => 'Editable by',
14 - 'sacl-property-editable-wl-group' => 'Edit whitelisted group',
15 - 'sacl-property-editable-wl-user' => 'Edit whitelisted user',
 14+ 'sacl-property-editable-wl-group' => 'Editable by group',
 15+ 'sacl-property-editable-wl-user' => 'Editable by user',
1616 );

Status & tagging log