Skip to content

Commit

Permalink
disable anon edits (#148)
Browse files Browse the repository at this point in the history
Signed-off-by: Shikhar <[email protected]>
  • Loading branch information
shikharish authored Sep 12, 2024
1 parent 0a5b403 commit cbc822a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions mediawiki/LocalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -372,6 +377,3 @@

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

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

0 comments on commit cbc822a

Please sign in to comment.