Last modified: 2006-06-22 20:10:18 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T8321, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6321 - Limiting the effect of entries in the spam blacklist to some wikis only
Limiting the effect of entries in the spam blacklist to some wikis only
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
Spam Blacklist (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks: 4462
  Show dependency treegraph
 
Reported: 2006-06-15 21:05 UTC by Mormegil
Modified: 2006-06-22 20:10 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
A quick draft of an implementation (1.68 KB, patch)
2006-06-15 21:11 UTC, Mormegil
Details

Description Mormegil 2006-06-15 21:05:56 UTC
Having one global spam blacklist ([[meta:Spam blacklist]]) for all MediaWiki-powered wikis on the Internet is 
difficult. It would be useful to have an option of limiting the effect of some entries to e.g. only Wikimedia sites 
(or the other way around, to all except Wikimedia sites).
Comment 1 Mormegil 2006-06-15 21:11:43 UTC
Created attachment 1961 [details]
A quick draft of an implementation

An implementation (probably not perfect) of such behavior:

Every blacklist entry can be marked with a special comment (beginning with an
exclamation mark) which limits its effect to either ONLY sites matching a given
regexp, or to all EXCEPT sites matching that regexp.

E.g.
spammer1\.example\.org	#!+ wikipedia.org$	# this spammer is blacklisted
only on *.wikipedia.org 

This has the advantage of being at least basically backwards-compatible (sites
using old version of SpamBlacklist still work filtering all entries ignoring
the comments).
Comment 2 Brion Vibber 2006-06-22 20:10:18 UTC
I've instead created a local whitelist, which local admins 
can edit at MediaWiki:Spam-whitelist. It's in the same format 
as the main blacklist.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links