Skip to content

Commit 6dc24cb

Browse files
authored
Disable anon editing (#145)
1 parent 6ce9d44 commit 6dc24cb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

mediawiki/LocalSettings.php

+5-1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636

3737
$wgEnableEmail = true;
3838
$wgEnableUserEmail = true; # UPO
39+
$wgEmailConfirmToEdit = true
3940

4041
$wgEmergencyContact = "[email protected]";
4142
$wgPasswordSender = "[email protected]";
@@ -370,4 +371,7 @@
370371
$wgScribuntoDefaultEngine = 'luastandalone';
371372

372373
# Show exception details in development environment
373-
$wgShowExceptionDetails = getenv('DEV', true);
374+
$wgShowExceptionDetails = getenv('DEV', true);
375+
376+
# Disable anonymous editing
377+
$wgGroupPermissions['*']['edit'] = false;

0 commit comments

Comments
 (0)