Tweak comment to be clearer these are rights, not groups
authorRob Church <robchurch@users.mediawiki.org>
Mon, 13 Aug 2007 19:49:05 +0000 (19:49 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Mon, 13 Aug 2007 19:49:05 +0000 (19:49 +0000)
includes/DefaultSettings.php

index 8b21de0..ce1aaf9 100644 (file)
@@ -1103,12 +1103,14 @@ $wgGroupPermissions['bureaucrat']['userrights'] = true;
 $wgRestrictionTypes = array( 'edit', 'move' );
 
 /**
- * Set of permission keys that can be selected via action=protect.
- * 'autoconfirm' allows all registerd users if $wgAutoConfirmAge is 0.
+ * Rights which can be required for each protection level (via action=protect)
  *
  * You can add a new protection level that requires a specific
  * permission by manipulating this array. The ordering of elements
  * dictates the order on the protection form's lists.
+ *
+ * '' will be ignored (i.e. unprotected)
+ * 'sysop' is quietly rewritten to 'protect' for backwards compatibility
  */
 $wgRestrictionLevels = array( '', 'autoconfirmed', 'sysop' );