[Mediawiki-l] Bad Behavior behaving badly

Thomas Dalton thomas.dalton at gmail.com
Tue Aug 21 20:48:05 UTC 2007

> But when I upload the files (after adding
> the requisite line to LocalSettings.php), I get the following error:
> Fatal error: call to undefined function wfQuery() in
> home/*****/public_html/wikific/extensions/Bad-Behavior/bad-behavior-mediawiki.php
> on line 63.
> Line 63 reads:
> $bb2_last_query = wfQuery($query, DB_WRITE);
> I haven't edited anything in any files relating to this extension except
> for the line necessary in LocalSettings.php. Any idea why it might not
> be working?
> What do you use to combat spam in your Wiki?

Where in LocalSettings.php did you put the line? Try putting it right
at the end.

More information about the MediaWiki-l mailing list