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)".
require_once("extensions/inputbox.php");
#this call is working fine! Which makes sure that the path is ok.
?>
-------- my extention directory -----------
SpamBlacklist.php
SpamBlacklist_body.php
wikimedia_blacklist.txt
-------------------------------------------
2)------using ("extensions/wikimedia_blacklist.txt");---------------------
--------my LocalSettings.php --------------
$wgSpamRegex="/overflow:auto/";
require_once("extensions/SpamBlacklist.php");
$wgSpamBlacklistFiles = array ("extensions/wikimedia_blacklist.txt");
# mywikiDB is the correct spelling of my database. $wgDBname = "mywikiDB";
# I do have a page called Spam_blacklist copied from META.
,NO MESSAGE ERROR, but no result at all.
require_once("extensions/inputbox.php");
#this call is working fine! Which makes sure that the path is ok.
?>
-------- my extention directory -----------
SpamBlacklist.php
SpamBlacklist_body.php
wikimedia_blacklist.txt
-------------------------------------------
-----------------END-----------------------
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Rick DeNatale
Sent: Saturday, December 17, 2005 4:00 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] SpamBlacklist.php
On 12/17/05, Mauro do Carmo <mauro(a)carmo.ws> wrote:
Thanks Rob,
However, I am still getting some problem. I hope your patience would let
you
clarify my mind.
I've first tried this line:
$wgSpamBlacklistFiles = array("DB: mywikiDB My_spam_blacklist");
,but I got an error message.
What error message? Does your wiki HAVE an article entitled My spam
blacklist? Is mywikiDB the correct spelling of the database?
I've tried this line too:
array("extensions/wikimedia_blacklist.txt");
,but no success at all.
I think that you need the complete path to the file, something like
/var/www/w/extensions/wikimedia_blacklist.txt depending on where
you've got it installed.
--
Rick DeNatale
Visit the Project Mercury Wiki Site
http://www.mercuryspacecraft.com/
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.1/205 - Release Date: 12/16/2005
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.1/205 - Release Date: 12/16/2005