Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -1103,12 +1103,14 @@ |
1104 | 1104 | $wgRestrictionTypes = array( 'edit', 'move' ); |
1105 | 1105 | |
1106 | 1106 | /** |
1107 | | - * Set of permission keys that can be selected via action=protect. |
1108 | | - * 'autoconfirm' allows all registerd users if $wgAutoConfirmAge is 0. |
| 1107 | + * Rights which can be required for each protection level (via action=protect) |
1109 | 1108 | * |
1110 | 1109 | * You can add a new protection level that requires a specific |
1111 | 1110 | * permission by manipulating this array. The ordering of elements |
1112 | 1111 | * dictates the order on the protection form's lists. |
| 1112 | + * |
| 1113 | + * '' will be ignored (i.e. unprotected) |
| 1114 | + * 'sysop' is quietly rewritten to 'protect' for backwards compatibility |
1113 | 1115 | */ |
1114 | 1116 | $wgRestrictionLevels = array( '', 'autoconfirmed', 'sysop' ); |
1115 | 1117 | |