Spam: Difference between revisions

From Wikimedia UK
Jump to navigation Jump to search
No edit summary
Line 6: Line 6:
<syntaxhighlight lang="php">
<syntaxhighlight lang="php">
# Set AutoConfirmAge and AutoConfirmCount
# Set AutoConfirmAge and AutoConfirmCount
$wgAutoConfirmAge = 86400; // one day
$wgAutoConfirmAge = 432000; // five days
$wgAutoConfirmCount = 10;
$wgAutoConfirmCount = 20;


# Force people to register before they are allowed to edit
# Force people to register before they are allowed to edit

Revision as of 15:11, 8 September 2022

Carrying on from this Engine room discussion:

LocalSettings.php (done)

Add the following to LocalSettings.php:

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