r24756 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24755‎ | r24756 | r24757 >
Date:19:49, 13 August 2007
Author:robchurch
Status:old
Tags:
Comment:
Tweak comment to be clearer these are rights, not groups
Modified paths:
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DefaultSettings.php
@@ -1103,12 +1103,14 @@
11041104 $wgRestrictionTypes = array( 'edit', 'move' );
11051105
11061106 /**
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)
11091108 *
11101109 * You can add a new protection level that requires a specific
11111110 * permission by manipulating this array. The ordering of elements
11121111 * 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
11131115 */
11141116 $wgRestrictionLevels = array( '', 'autoconfirmed', 'sysop' );
11151117

Follow-up revisions

RevisionCommit summaryAuthorDate
r24866Merged revisions 24755-24865 via svnmerge from...david23:08, 16 August 2007

Status & tagging log