Last modified: 2006-06-25 02:24:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 2345 - SpamBlacklist should have default "local" blacklist file
SpamBlacklist should have default "local" blacklist file
Product: MediaWiki extensions
Classification: Unclassified
General/Unknown (Other open bugs)
All Linux
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-06-07 19:09 UTC by Keunwoo Lee
Modified: 2006-06-25 02:24 UTC (History)
0 users

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


Description Keunwoo Lee 2005-06-07 19:09:04 UTC
Currently, SpamBlacklist loads only wikimedia_blacklist by default.  I would like the default 
configuration to also search for, and load, a file called local_blacklist if it is present.  This would 
make it easier to use the default load_lists script to grab the updates from the canonical wikimedia 
blacklist, while retaining your own local blacklist. 
It's easy enough for admins to add a line to the PHP templates that loads local_blacklists, but it's a 
hassle to do that every time you upgrade the Wikimedia software.  Ideally local settings should be 
encapsulated in separate files that are easy to carry forward through Wikimedia upgrades. 
It may also be desirable to load extra regexps from a variable that's settable in LocalSettings.php, so 
that the configuration for the whole installation is encapsulated there.
Comment 1 Rob Church 2006-06-25 02:24:14 UTC
In LocalSettings.php, under the require_once( ...spam blacklist... ); line, add
something like:

$wgSpamBlacklistFiles[] =

You *can* set the configuration within LocalSettings.php but it has to be done
after the defaults for that extension are loaded.

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