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