Skip to content

Commit

Permalink
Disable anon editing (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
shikharish authored Sep 7, 2024
1 parent 6ce9d44 commit 6dc24cb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mediawiki/LocalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@

$wgEnableEmail = true;
$wgEnableUserEmail = true; # UPO
$wgEmailConfirmToEdit = true

$wgEmergencyContact = "[email protected]";
$wgPasswordSender = "[email protected]";
Expand Down Expand Up @@ -370,4 +371,7 @@
$wgScribuntoDefaultEngine = 'luastandalone';

# Show exception details in development environment
$wgShowExceptionDetails = getenv('DEV', true);
$wgShowExceptionDetails = getenv('DEV', true);

# Disable anonymous editing
$wgGroupPermissions['*']['edit'] = false;

0 comments on commit 6dc24cb

Please sign in to comment.