Spam: Difference between revisions
Jump to navigation
Jump to search
TheresNoTime (talk | contribs) No edit summary |
TheresNoTime (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
$wgApplyIpBlocksToXff = true; | |||
# Set AutoConfirmAge and AutoConfirmCount | # Set AutoConfirmAge and AutoConfirmCount | ||
$wgAutoConfirmAge = 432000; // five days | $wgAutoConfirmAge = 432000; // five days |
Revision as of 16:19, 8 September 2022
Carrying on from this Engine room discussion:
LocalSettings.php (done)
Add the following to LocalSettings.php:
$wgApplyIpBlocksToXff = true;
# Set AutoConfirmAge and AutoConfirmCount
$wgAutoConfirmAge = 432000; // five days
$wgAutoConfirmCount = 20;
# Force people to register before they are allowed to edit
$wgGroupPermissions['*']['edit'] = false;
$wgShowIPinHeader = false;
# Prevent account creation
$wgGroupPermissions['*']['createaccount'] = false; // temporary
See also:
Extensions
From: mw:Manual:Combating spam
We should then install/enable:
- Extension:SpamBlacklist — no configuration required ✅
- Extension:ConfirmEdit — some configuration required ✅
- Extension:StopForumSpam — some configuration required ✅
- Extension:AbuseFilter — configuration & filter setup required