@cryptotaxi247 / infra-1 / commits / bcb46ed7

Disable wiki editing

Eelco Dolstra committed Mar 3, 2016 at 18:51 UTC bcb46ed71cbe8f93ff61f7081775dc0de83ec588
1 file changed +4
nixos-org/webserver.nix
+4
@@ -168,6 +168,10 @@ in
168
169 #$wgDebugLogFile = "/tmp/mediawiki_debug_log.txt";
170
171 + # Disable editing by all users.
172 + $wgGroupPermissions['*']['edit'] = false;
173 + $wgGroupPermissions['user']['edit'] = false;
174 +
175 # Turn on the mass deletion feature.
176 require_once("$IP/extensions/Nuke/Nuke.php");
177