On 12/17/05, Mauro do Carmo <mauro(a)carmo.ws> wrote:
Thanks Rick,
All is lookinf fine, but it doesn't work. I've tried with DB, and with a
list as well as I report here in case 1), and case 2).
Please, if you get a chance, get a look, and let me know where I mistaken.
Thanks a lot, mauro.
1)--------------using ("DB: mywikiDB Spam_blacklist");---------------------
--------my LocalSettings.php --------------
$wgSpamRegex="/overflow:auto/";
require_once("extensions/SpamBlacklist.php");
$wgSpamBlacklistFiles = array ("DB: mywikiDB Spam_blacklist");
# mywikiDB is the correct spelling of my database. $wgDBname = "mywikiDB";
# I do have a page called Spam_blacklist copied from META.
,this is the MESSAGE ERROR I've got:
"1146: Table ' mywikiDB.pt_cur' doesn't exist (mysql.hosting.com)".
It looks like you are running MW 1.5, the spam blacklist extension was
written against 1.4 and needs to be patched to work with 1.5 which has
no cur table in the database.
http://meta.wikimedia.org/wiki/SpamBlacklist_extension#Patch_for_1.5_Compat…
includes the patch. Read it carefully and note that the spam list
article needs to be moved the MediaWiki namespace, which is the
namespace where all the system messages exist.
require_once("extensions/inputbox.php");
#this call is working fine! Which makes sure that the path is ok.
No it doesn't. Require_once is a php language directive which searches
for the file to be included in several places according to the include
path.
The code in the spamblacklist extension only uses the complete file
path you specify. The readme file examples start with $IP/... where
$IP is the variable set near the beginning of Localsettings.php and
holds the path to where mediawiki is installed.
--
Rick DeNatale
Visit the Project Mercury Wiki Site
http://www.mercuryspacecraft.com/