I tried it like this before, and tried one more time but to no avail.

wfLoadExtension( 'SpamBlacklist' );
$wgSpamBlacklistFiles = array(
   "
https://meta.wikimedia.org/w/index.php?title=Spam_blacklist&action=raw&sb_ver=1
",
   "
https://en.wikipedia.org/w/index.php?title=MediaWiki:Spam-blacklist&action=raw&sb_ver=1
"
);

If it isn’t too much of a bother can you confirm that you wiki (in case it’s 
different from English Wikipedia), can block the following link:

“http://0101footworld.com”

It is blacklisted in the English Wikipedia blacklist; it gets blocked in 
English Wikipedia sandbox but for some reason not on my Wiki.

Is it possible that this might have something to do with Shell access, because 
my host server does not allow SSH?

Thanks and Regards,



From: Ahmad Farooq
Sent: 08 March 2016 09:57 PM
To: [email protected]
Subject: Extension:SpamBlacklist

Hi,

MediaWiki          1.26.2
PHP                        5.4.41 (apache2handler)
MySQL                  5.6.27-76.0
ICU                         4.2.1
Server OS            Linux (32-Bit)

I am having a lot of difficulty, setting up a blacklist aside from the default 
Meta-Wiki one (I.e. https://meta.wikimedia.org/wiki/Spam_blacklist).

Following the examples here: 
https://www.mediawiki.org/wiki/Extension:SpamBlacklist#Examples

in LocalSettings.php I included the following lines:

$wgSpamBlacklistFiles = array(
   "[[m:Spam blacklist]]",
   "https://en.wikipedia.org/wiki/MediaWiki:Spam-blacklist";
);

But when I test this, by entering the links that are blacklisted in the English 
Wikipedia blacklist, they don’t get blocked. To make sure I was using the 
correct links, I tested them in the English Wikipedia sandbox where they were 
successfully blocked.

Additionally, according to the documentation, when “$wgSpamBlacklistFiles” is 
used, the blacklists are solely the ones defined in this array, so I deleted 
the link to the Meta-Wiki blacklist and tried inputting some junk link (I.e. 
"https://en.wikipedia.org/wiki/abc";) in the array. From what I understand, no 
link should have blocked in such a scenario. But again the links defined in the 
Meta-Wiki blacklist were blocked. It appears that the “$wgSpamBlacklistFiles” 
is having absolutely no effect whatsoever.

No matter what I do, the Meta-Wiki blacklist continues to work, but none of the 
other blacklists I try to include, work. 
I have even tried creating a similar blacklist page on my own Wiki to no avail. 
I also remembered to clear the cache before each try.
What am I missing?

Thanks in advance.

Regards,

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to