Hi,
Let me put in another way my question:
Is there any way to use $wgSpamRegex with a separate list of words/sentences
which I don't want to be used in my wiki?
Or, if there is no way to use such separated list with $wgSpamRegex, is
there any problem to put all those words/sentences in my LocalSettings.php
and in doing so, have an enormous LocalSettings.php file? I mean problems
like performance, or even errors for LocalSettings.php should be like it is,
small.
Thanks a lot, mauro.
--------------------------
Server: * PHP Version 4.3.11-dev;
* Mediawiki: 1.5.3;
* on Linux, Apache 1.3.31 base environment.
Client: * Win XP Home Edition SP2;
* Browser: FireFox;
* Extensions: Wikipedia 0.5.2 + Google Bar.
--------------------------
-----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 11: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_Compati
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
--
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
_______________________________________________
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
_______________________________________________
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/206 - Release Date: 12/16/2005