dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7acdbd9
)
Clarification for $wgRestrictionLevels
author
Rob Church
<robchurch@users.mediawiki.org>
Tue, 5 Jun 2007 01:29:05 +0000
(
01:29
+0000)
committer
Rob Church
<robchurch@users.mediawiki.org>
Tue, 5 Jun 2007 01:29:05 +0000
(
01:29
+0000)
includes/DefaultSettings.php
patch
|
blob
|
history
diff --git
a/includes/DefaultSettings.php
b/includes/DefaultSettings.php
index
cc5fa25
..
46ceea0
100644
(file)
--- 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' );