]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/wiki/templates/default/after_extensions.php.erb
split configuration in two, include new templates
[chef.git] / cookbooks / wiki / templates / default / after_extensions.php.erb
diff --git a/cookbooks/wiki/templates/default/after_extensions.php.erb b/cookbooks/wiki/templates/default/after_extensions.php.erb
new file mode 100644 (file)
index 0000000..190b407
--- /dev/null
@@ -0,0 +1,14 @@
+<?php
+# DO NOT EDIT - This file is being maintained by Chef
+
+# Protect against web entry
+if ( !defined( 'MEDIAWIKI' ) ) {
+       exit;
+}
+
+# configuration loaded after the extensions
+
+# user group "confirmed" with identical rights as "autoconfirmed", but assigned manually by sysops
+$wgGroupPermissions['confirmed'] = $wgGroupPermissions['autoconfirmed'];
+$wgAddGroups['sysop'][] = 'confirmed';
+$wgRemoveGroups['sysop'][] = 'confirmed';