diff options
author | Nick Bebout <nb@batcave01.phx2.fedoraproject.org> | 2017-07-31 16:26:13 +0000 |
---|---|---|
committer | Nick Bebout <nb@batcave01.phx2.fedoraproject.org> | 2017-07-31 16:26:58 +0000 |
commit | ac159f984addf28e646eea311aaa974860628481 (patch) | |
tree | fc7e55d1689fd45af63eed50c60cd1d4f4df7315 | |
parent | 5576a642f6823fc292598a93499b12727c2fa666 (diff) | |
download | ansible-ac159f984addf28e646eea311aaa974860628481.tar.gz ansible-ac159f984addf28e646eea311aaa974860628481.tar.xz ansible-ac159f984addf28e646eea311aaa974860628481.zip |
Add protectors group to allow people to manage protected pages on MediaWiki
-rw-r--r-- | roles/mediawiki/templates/LocalSettings.php.fp.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/mediawiki/templates/LocalSettings.php.fp.j2 b/roles/mediawiki/templates/LocalSettings.php.fp.j2 index 7adb72cbd..fe9af6302 100644 --- a/roles/mediawiki/templates/LocalSettings.php.fp.j2 +++ b/roles/mediawiki/templates/LocalSettings.php.fp.j2 @@ -100,6 +100,9 @@ $wgGroupPermissions['pruners']['bigdelete'] = true; $wgGroupPermissions['pruners']['deletedhistory'] = true; $wgGroupPermissions['pruners']['undelete'] = true; +# Create a protectors group for people who need to protect/unprotect pages +$wgGroupPermissions['protectors']['protect'] = true; + ## The URL base path to the directory containing the wiki; ## defaults for all runtime URL paths are based off of this. #$wgScriptPath = "/wiki"; |