From: Rob Church Date: Tue, 5 Jun 2007 01:29:05 +0000 (+0000) Subject: Clarification for $wgRestrictionLevels X-Git-Tag: 1.31.0-rc.0~52676 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=fa5dec53ce155e2b1b7eb3f816e7e395703467c3;p=lhc%2Fweb%2Fwiklou.git Clarification for $wgRestrictionLevels --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index cc5fa2542f..46ceea0f62 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1086,6 +1086,10 @@ $wgRestrictionTypes = array( 'edit', 'move' ); /** * Set of permission keys that can be selected via action=protect. * 'autoconfirm' allows all registerd users if $wgAutoConfirmAge is 0. + * + * 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. */ $wgRestrictionLevels = array( '', 'autoconfirmed', 'sysop' );