Page MenuHomePhabricator

Add an option for an expiration date for spam blacklist items
Open, Needs TriagePublic

Description

A few possible approaches for doing this:

  1. Just put the expiration date in the comment and have a bot remove the line when the expiration date is reached, e.g. \bfoo\.com\b # expiry: 2020-02-25
  2. Use a similar format as what TitleBlacklist uses, e.g. \bfoo\.com\b <expiry: 2020-02-25>
  3. Replace the MediaWiki:Spam-blacklist with a special page, Special:SpamBlacklist, that's arranged similarly to Special:Interwiki, with a field for the expiration date, and the data being stored in a database table

Event Timeline

Hmm. Since when TitleBlacklist entries can be set to expire? I don't see any docs (or can't find them) on mediawiki.org. That should be documented. Thanks.

Hmm. Since when TitleBlacklist entries can be set to expire? I don't see any docs (or can't find them) on mediawiki.org. That should be documented. Thanks.

Yeah, TitleBlacklist entries can't be set to expire; I was just talking about the general format it uses for options, e.g. <casesensitive | moveonly>. As long as we're here, I'll note for the record your comment at https://www.mediawiki.org/wiki/User_talk:MarcoAurelio

I'd favor for {Spam,Title}Blacklist to turn them into special pages with powerful edit tools as well.

What kind of powerful edit tool did you have in mind, by the way? I was thinking of something similar to Special:Interwiki's edit function.