MediaWiki Hell
Feb. 28th, 2011 12:28 pmOkay, so WikiFic's spam problem is a LOT worse than I initially thought it was. I implemented a captcha requirement for all new accounts (using ReCaptcha, no less, not just some lame funky image captcha, or numeric captcha!), but poseur accounts are still getting created.
The spam blacklist isn't helping with the fake pages (which relate to diet stuff or new jobs), and in trying to delete the fake pages after properly installing Bad Behavior 2 and the Bad Behavior 2 Extended extensions, I myself have gotten blocked!
( Fixed??? )
ETA: Fixed... sort of. Turns out the issue was with 2 lines of whitespace after the closing PHP tag, which has since been fixed. Bad Behavior is now working, along with the BB2 Extended Special: page, but I've got a truckload of spam pages in the Recent Changes history, which I'm stuck deleting individually, by hand.
The problem is, there are these lines for including a Database Functions file:
include_once( 'includes/DatabaseFunctions.php' );
that are repeated, and I think that's causing the cleanup.php script to fail with the above error. I don't want to render Bad Behavior (which has that line in it, in LocalSettings.php and in somewhere else...I thought the bad-behavior-mediawiki.php file, but maybe since I updated it to the latest version, not?
ETA: Actually, it's because one version of the line was formatted like so:
include_once( './includes/DatabaseFunctions.php' );
(notice the "./"), but when I changed it to:
include_once( 'includes/DatabaseFunctions.php' );
the script ran just fine.
However, I'm still stuck with a truckload of spam pages that have already been created, as well as pages caught by the cleanup script and blanked out.
Anyone know of another way to delete (not just blank-out, as I've been doing with the Spam Blacklist cleanup.php script) pages en masse? It seems like these are all on a specific date, and it'd be nice to have an extension that allows me to tick boxes of pages created on a specified date and delete all the pages I check off, or something like that. Anyone know of something like that, or similar?
The spam blacklist isn't helping with the fake pages (which relate to diet stuff or new jobs), and in trying to delete the fake pages after properly installing Bad Behavior 2 and the Bad Behavior 2 Extended extensions, I myself have gotten blocked!
( Fixed??? )
ETA: Fixed... sort of. Turns out the issue was with 2 lines of whitespace after the closing PHP tag, which has since been fixed. Bad Behavior is now working, along with the BB2 Extended Special: page, but I've got a truckload of spam pages in the Recent Changes history, which I'm stuck deleting individually, by hand.
The problem is, there are these lines for including a Database Functions file:
include_once( 'includes/DatabaseFunctions.php' );
that are repeated, and I think that's causing the cleanup.php script to fail with the above error. I don't want to render Bad Behavior (which has that line in it, in LocalSettings.php and in somewhere else...I thought the bad-behavior-mediawiki.php file, but maybe since I updated it to the latest version, not?
ETA: Actually, it's because one version of the line was formatted like so:
include_once( './includes/DatabaseFunctions.php' );
(notice the "./"), but when I changed it to:
include_once( 'includes/DatabaseFunctions.php' );
the script ran just fine.
However, I'm still stuck with a truckload of spam pages that have already been created, as well as pages caught by the cleanup script and blanked out.
Anyone know of another way to delete (not just blank-out, as I've been doing with the Spam Blacklist cleanup.php script) pages en masse? It seems like these are all on a specific date, and it'd be nice to have an extension that allows me to tick boxes of pages created on a specified date and delete all the pages I check off, or something like that. Anyone know of something like that, or similar?