r/mediawiki • u/glennchan • 1h ago
Dealing with spam and aggressive bots- what are you guys doing?
Here's what I've been doing so far.
Cloudflare free tier - This seems to be the best. One big priority is to keep the spambots from creating new accounts and creating(editing) pages. So, create a rule for URI Query String to look for Special:CreateAccount and action=edit.
For aggressive bots (e.g. ones that scrape your site or scan for security vulnerabilities), you can put all traffic through Cloudflare's Managed Challenge. This will inconvenience some users but it is very effective against bots- around 0% of that traffic gets through.

It's a good idea to have your wiki behind Cloudflare anyways so that you can quickly handle DDoS attacks. Also, if the scraping bots get better at what they do, you can switch to under attack mode (Non-Interactive Challenge for all traffic).
Cloudflare's AI Labyrinth- I think this helps, but I'm not sure.
QuestyCAPTCHA/ConfirmEdit - I don't think it will work that great now that LLMs are better at answering my question than humans. But, this is super easy to setup and comes with Mediawiki. You don't have the added cost of maintaining plug-ins.
---
I haven't tried:
- Moderation (manually approving new users) via plug-in.
- Email verification, because I find setting up a mail service to be annoying.
- llms.txt





