diff --git a/mediawiki/LocalSettings.php b/mediawiki/LocalSettings.php index c0a1267..681bcb1 100644 --- a/mediawiki/LocalSettings.php +++ b/mediawiki/LocalSettings.php @@ -281,6 +281,11 @@ $wgGroupPermissions['rm-spam']['blockemail'] = true; $wgGroupPermissions['rm-spam']['nuke'] = true; +# Disable anonymous editing +$wgGroupPermissions['*']['edit'] = false; +$wgGroupPermissions['user']['edit'] = true; +$wgGroupPermissions['sysop']['edit'] = true; + # Autoconfirm $wgAutoConfirmAge = 3 * 24 * 3600; $wgAutoConfirmCount = 5; @@ -372,6 +377,3 @@ # Show exception details in development environment $wgShowExceptionDetails = getenv('DEV', true); - -# Disable anonymous editing -$wgGroupPermissions['*']['edit'] = false; \ No newline at end of file