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:
5ff39d3
)
Allow cascading protection to be turned off without changing other settings
author
Alex Z
<mrzman@users.mediawiki.org>
Sun, 14 Sep 2008 01:11:54 +0000
(
01:11
+0000)
committer
Alex Z
<mrzman@users.mediawiki.org>
Sun, 14 Sep 2008 01:11:54 +0000
(
01:11
+0000)
includes/ProtectionForm.php
patch
|
blob
|
history
diff --git
a/includes/ProtectionForm.php
b/includes/ProtectionForm.php
index
c30adad
..
e78fa3d
100644
(file)
--- a/
includes/ProtectionForm.php
+++ b/
includes/ProtectionForm.php
@@
-211,7
+211,7
@@
class ProtectionForm {
global $wgGroupPermissions;
$edit_restriction = $this->mRestrictions['edit'];
-
+ $this->mCascade = $wgRequest->getBool( 'mwProtect-cascade' );
if ($this->mCascade && ($edit_restriction != 'protect') &&
!(isset($wgGroupPermissions[$edit_restriction]['protect']) && $wgGroupPermissions[$edit_restriction]['protect'] ) )
$this->mCascade = false;