Mobile app version of vmapp.org
Login or Join
Chiappetta492

: How do you deal with mass spam on MediaWiki? What would be the best way to find a users IP address on MediaWiki if all the connections were proxied through squid proxy server and you have

@Chiappetta492

Posted in: #Mediawiki #Spam #SpamPrevention

What would be the best way to find a users IP address on MediaWiki if all the connections were proxied through squid proxy server and you have access to all user rights?

I am a steward on a centralauth based wiki and we have lots of spam accounts registering and making 1 spam page each.

Can someone please tell me what the best way to mass block them is as I keep on having to block each user individually and lock their accounts?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Chiappetta492

2 Comments

Sorted by latest first Latest Oldest Best

 

@Fox8124981

I would recommend installing Extension:Moderation - MediaWiki.
This MediaWiki Extension will allow you and your admins to combat spam.

10% popularity Vote Up Vote Down


 

@Caterina187

If configured properly, your proxy will add the IP address of the user to the X-Forwarded-For header of the backend request. If $wgSquidServers (or $wgSquidServersNoPurge) is properly set, MediaWiki will automatically use that header for all internal purposes except logging (where it would be a performance hit).

For spam-fighting in general, see the list of antispam extensions. ConfirmEdit (captcha) is a popular choice, SpamBlacklist is also nice. AbuseFilter was meant more for abusive users, and needs complex configuration, but it is very powerful. For mass-deletion/blocking you can use CentralAuth's Special:MultiLock page, Nuke, SmiteSpam, I'm sure there are others.

See also the manual page on combating spam.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme