[Mediawiki-l] spam again and again in history_version link of mediawiki

Sy Ali sy1234 at gmail.com
Fri Dec 30 12:43:08 UTC 2005


On 12/30/05, Andres Obrero <andres at holzapfel.ch> wrote:
> So here the question:
> How can i remove safely all spam in the database without leaving any
> link to a version.
> Can i just delete the blob in mysql?

I don't know of a way to
* bulk-remove edits by a particular user
* remove certain content

However, to block future spam like this, I recommend that you edit
your LocalSettings.php and add either:
$wgSpamRegex="/<div/";
or if you need to use <div> tags, try:
$wgSpamRegex="/overflow:\s*auto/";

I also recommend the SpamBlacklist extension (although I couldn't get
it to work 100%, it still works fairly well for me)
http://meta.wikimedia.org/wiki/SpamBlacklist_extension



More information about the MediaWiki-l mailing list