Extension talk:Bad Behavior
require_once( "$IP/includes/DatabaseFunctions.php" );
to bad-behavior-mediawiki.php ; that fixed it for me. "
This solution worked for me. Sy Ali 19:08, 11 September 2007 (UTC)
sql queries are not postres compatible
this extension uses the database only for it's logging functionality. so main part of a "workaround" is to disable loging in the conf file. second you have to comment out the sql querries in the file bad-behavior/bad-behavior/housekeeping.inc.php (use // in front of every $query = ... and bb2_db_query($query); line). nuess0r
I have a user-submitted PostgreSQL patch which I'll be rolling out in the next few days. --Error28 08:12, 15 February 2011 (UTC)
Still broken in new versions
No fix for new versions of Mediawiki that don't have DatabaseFunctions.php? The latest Bad Behaviour does not have the above call.
- I haven't been able to get it to work either, following both the simple instructions on the download site and the more detailed (but obsolete, judging by the comments above) instructions in the readme.txt (found in the download). Using MediaWiki 1.18.2, PHP 5.3.13, MySQL 5.1.39-log...
- Possibly there's a step not mentioned in the instructions because there are only 3 fairly simply defined steps described, and there's not a lot of room for misunderstanding (except the location of settings.ini, but I was able to find that out from the configurations page)? This is the error message I received:
Warning: require_once($IP/extensions/bad-behavior/bad-behavior-mediawiki.php) [function.require-once]: failed to open stream: No such file or directory in PATH/TO/WIKI/LocalSettings.php on line 607
Does this extension instantly block spambots, or does it prevent them from making accounts? I know a number of wikis that have spambot problems, and this could help, but only if it prevents account creation by spambots. 220.127.116.11 21:31, 24 September 2012 (UTC)