Spam: Difference between revisions

From Wikimedia UK
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
Carrying on from [[Special:Permalink/155914#Spam|this Engine room discussion]]:
Carrying on from [[Special:Permalink/155914#Spam|this Engine room discussion]]:


== LocalSettings.php ==
== LocalSettings.php (done) ==
Add the following to [[:mw:LocalSettings|LocalSettings.php]]:
Add the following to [[:mw:LocalSettings|LocalSettings.php]]:



Revision as of 13:35, 2 September 2022

Carrying on from this Engine room discussion:

LocalSettings.php (done)

Add the following to LocalSettings.php:

# Set AutoConfirmAge and AutoConfirmCount
$wgAutoConfirmAge = 86400; // one day
$wgAutoConfirmCount = 10;

# 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: