Mediawiki-anti-spam

From BCCD 3.0

Jump to: navigation, search

Contents

Introduction

This is a quick summary of the changes we've made to the littlefe.net and bccd.net wikis.

Policy

We have a single policy - folks must be logged in to edit. We don't have the people-power of Wikipedia to police our pages. We give out accounts freely to people we know, including through the buildout program, but we do not allow people to self-register.

Adopting this policy has kept our pages spam-free.

Extensions

The following extensions should be installed in the extensions directory:

See the docs for information on installing extensions.

Configuration

These configuration snippets all come from the LocalSettings.php file.

Disable account self-registration

$wgGroupPermissions['*']['createaccount'] = false;

Prevent common spam edits

In case one of our accounts gets cracked, these phrases are unlikely to be legitimately-associated with BCCD/LittleFe:

$wgSpamRegex = "/somelist/i";

DNS blacklist

This will prevent certain IP addresses resolved by their PTR records from editing:

$wgEnableDnsBlacklist = true;
$wgDnsBlacklistUrls = array('http.dnsbl.sorbs.net.','opm.tornevall.org.');
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox