Commit graph

57 commits

Author SHA1 Message Date
Raimond Spekking dedbd1a0e0 * (bug 11068) i18n updates/additions Dutch/nld for extensions
Patch by Siebrand
2007-08-27 07:48:23 +00:00
Raimond Spekking 08c31da572 * (bug 10939) Update French for SpamBlacklist 2007-08-15 11:21:13 +00:00
Raimond Spekking 6af93e13c5 Updates German 2007-07-24 11:18:26 +00:00
Brion Vibber bde084c272 Some polishing and refactoring on this monstrosity, it's been allowed to grow without some good snipping in a while. :)
* Handle bad regexes more gracefully:
 - The batched regexes are tested for validity, and if one is bad, the lines from that source are broken out line-by-line. This is slower, but the other lines in that source will still be applied correctly.
 - Suppress warnings and be more verbose in the debug log.
 - Check for bad regexes when a local blacklist page is edited, and prompt the user to fix the bad lines.
* Caching issues:
 - Cache the full regexes per-DB instead of per-site; this should be friendlier to shared environments where not every wiki has the same configuration.
 - Hopefully improve the recaching of local pages, which looked like it would preemptively apply the being-edited text to the cache during the filter callback, even though something else might stop the page from being saved. Now just clearing the cache after save is complete, letting it re-load later.
* Split out some of the regex batch functions for clarity.

There are probably still issues with caching of HTTP bits, and in general the local DB loading looks verrrry fragile.
Test this a bit more before syncing. :)
2007-07-20 21:13:26 +00:00
Ivan Lanin 57f84def12 Bug #10623: id translations for Spam-Blacklist extension (patch by Borgx) 2007-07-18 02:15:04 +00:00
Brion Vibber 72ca079b97 Add a local blacklist at MediaWiki:Spam-blacklist which can always be used, just as the local whitelist at MediaWiki:Spam-whitelist.
Should save some trouble for annoyed people. :)
The regular message cache behavior is used for this message, so it'll also update immediately, without waiting for the shared caches to time out.
Additionally, added a fix for configurations which don't hardcode the PHP include_path by using $IP in an include for HttpFunctions.php.
2007-07-07 17:21:49 +00:00
Raimond Spekking 48689b2bca Make the long existing message 'spam-whitelist' available to [[Special:Allmessages]]. 2007-07-04 11:28:52 +00:00