[SAC] Wiki is being spammed

Markus Neteler neteler at osgeo.org
Sun Jan 17 03:39:35 PST 2016


Hi Grant, SAC,

On Sat, Jan 16, 2016 at 2:53 PM, Grant Slater <osgeo at firefishy.com> wrote:
> Hi Guys,
>
> I run the OpenStreetMap wiki. We recently combated a similar spam problem.
>
> Few tips:
> * Enabled $wgEnableDnsBlacklist:
> https://github.com/openstreetmap/chef/blob/master/cookbooks/mediawiki/templates/default/LocalSettings.php.erb#L207

Yes, that was already active.

> * $wgDnsBlacklistUrls:
> https://github.com/openstreetmap/chef/blob/master/cookbooks/mediawiki/templates/default/LocalSettings.php.erb#L208

... I have updated our list to yours now.

> * $wgEmailConfirmToEdit = true;

... was there.

> * Increase $wgAutoblockExpiry

... added.

> * $wgSpamRegex

https://github.com/openstreetmap/chef/blob/master/cookbooks/mediawiki/templates/default/LocalSettings.php.erb#L216
... our wgSpamRegex (in our LocalSettings.php in line 201) is quite different.
@SAC: I guess we adopt those of the OpenStreetMap wiki?

> * Install AbuseFilter extension:
> https://github.com/openstreetmap/chef/blob/master/cookbooks/mediawiki/templates/default/mw-ext-AbuseFilter.inc.php.erb
> * Chat to me on IRC and I'll share the private AbuseFilter rules.
> (Firefishy in #osgeo on freenode + #osm-dev on oftc)

.... AbuseFilter to be done (anyone in SAC to tackle this?)

> * Use Extension:Nuke to clean up existing spam.

I tried Extension:BlockAndNuke to no avail. It does not seems to read
the whitelist.
Extension:Nuke I don't remember if I tried.

Thanks for your hints, Grant. Much appreciated.

Markus


More information about the Sac mailing list