Page MenuHomePhabricator

Convert global spam blacklist into Special:BlockedExternalDomains
Open, Needs TriagePublic

Description

During Wikimedia-Hackathon-2023, local spamblacklists (MediaWiki:Spamblacklist) was largely converted into a Special:BlockedExternalDomains page, which is much easier to use and work with, even without regex knowledge. However, this migration does not impact the global spam blacklist, which is controlled from Meta-Wiki (see the link before).

Within this task, the global spam blacklist should be integrated with Special:BlockedExternalDomains as well.

Event Timeline

Hi, is the goal of this task to create a script that import the domains found in the global spam blacklist as BlockedDomainFilters?
Would replicating SpamBlacklist's behavior of retrieving the txt/regex from meta wiki regularly, checking for diff and then storing any new domains be sufficient?

Thanks ahead of time for any pointers. I am new to contributing to mediawiki so I'm most likely missing some context.