Last modified: 2006-06-25 02:24:14 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.
In LocalSettings.php, under the require_once( ...spam blacklist... ); line, add something like: $wgSpamBlacklistFiles[] = 'http://your.wiki.com/path/to/index.php?title=Some_page&action=raw'; You *can* set the configuration within LocalSettings.php but it has to be done after the defaults for that extension are loaded.