You can specify an HTTP file to parse. By default, if you don't
override $wgSpamBlacklistFiles, it defaults to parsing meta's spam list.
You just need to add links to your local spam lists. For example,
"$wgSpamBlacklistFiles[] =
The load on your server might increase a little due to the additional
page request, but it is probably the simplest solution. I find grabbing
blacklist files from popular wiki sites using this method a very
efficient means of spam protection and it saves me the hassle of
operating my own blacklist. A few fall through the cracks, but it is
really only a few. YMMV
Gregory Szorc
gregory.szorc(a)case.edu
Laurie Lewis wrote:
How do you configure the SpamBlacklist to use a page
in the MediaWiki
namespace when you have multiple wikis being separated by the use of a
prefix. The configuration asks you for a database name - I would assume
that it will look for a default table name - can you tell it to use one
of the tables with a prefix eg en_.
Laurie
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Mauro do Carmo
Sent: Sunday, 18 December 2005 6:39 PM
To: 'MediaWiki announcements and site admin list'
Subject: RE: [Mediawiki-l] SpamBlacklist.php
Hi Rick & all,
I just forgot about this question:
Since I have several words and sentences which I don't want my
'collaborators'(vandals) to use, I though it my have some way to put all
those words and sentences in a list. Some think like SpamBlacklist, but
to
work with words and sentences instead of URLs, files.
I know I can use $wgSpamRegex. However, it would really become
cumbersome,
since I have several words and plus several sentences I don't want to be
used.
Any idea? Any help is much appreciated.
Thanks, mauro.
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Mauro do Carmo
Sent: Saturday, December 17, 2005 9:30 PM
To: 'MediaWiki announcements and site admin list'
Subject: RE: [Mediawiki-l] SpamBlacklist.php
Thnaks Rick & all,
I get Spam blacklist working!
[]'s
mauro.
-----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 6:54 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 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_Com
pati
bility
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/
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l