Page MenuHomePhabricator

Configure an additional local spam blacklist on French Wikipedia
Closed, ResolvedPublic

Description

Author: christophe.henner

Description:
Next to some discussion on the french wikipedia, we've decided to ask to a local
balcklist to be activated. Can this be done?

Part of the discussion can be see there
http://fr.wikipedia.org/wiki/Wikip%C3%A9dia:Le_Bistro/4_janvier_2007#MediaWiki:Spam-blacklist

Thanks a lot :)


Version: unspecified
Severity: enhancement
URL: http://fr.wikipedia.org/w/index.php?title=MediaWiki:Spam-blacklist

Details

Reference
bz8492

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:33 PM
bzimport set Reference to bz8492.
bzimport added a subscriber: Unknown Object (MLST).

forums wrote:

I think that would be a really good thing ! Many links such as YouTube ect...
should be black listed (after vote and consensus, of course)...

+1 to install it ;)

Thanks a lot in advance.

It would be very useful on each project.

For example, English Wikipedia has thousands of links to Wikimapia. But French
Wikipedia should decide that those kind of links are not a good things for the
projecs. With a unique blacklist for all Wikimedia project, any request from
French talking users to add www.wikimapia.org in [[meta:Spam blacklist]] is sure
to get a negative answer.

Create a blacklist for each project should allow any project to make its own
choices. It doesn't mean that the [[meta:Spam blacklist]] has to vanish, only
that a new feature is wished.

jeanpaul.malvolti wrote:

A local blacklist would be useful on the french wikipedia.

Discussion can be seen there:
http://fr.wikipedia.org/wiki/Wikip%C3%A9dia:Le_Bistro/5_janvier_2007#MediaWiki:Spam-
blacklist

Thanks

manchot wrote:

I support this too.

ayg wrote:

We can see from the linked discussion that there's support for this. Please
vote for this bug if you support it, don't send e-mails to everyone who's
watching it. Leave the discussion for technical issues.

Is this request technically possible at the moment?

robchur wrote:

(In reply to comment #5)

Is this request technically possible at the moment?

Yes, in fact, the user who posted the bug did so after consulting me in
MediaWiki-General about whether it was possible. I trust that our shell users know how
to configure it. ;)

I prepared a patch in wikimedia CommonSettings.php (looks for 'INSERT_TITLE').
Now we need :

  • the page that will be used as a spamblacklist on

the french wikipedia project.

  • someone to review my patch (already applied but commented out)
  • CommonSettings.php~ 2007-01-05 23:20:32.000000000 +0000

+++ CommonSettings.php 2007-01-06 21:27:32.000000000 +0000
@@ -923,6 +929,18 @@
wfProfileOut( "$fname-ext-include1" );
wfProfileIn( "$fname-misc2" );

+/*
+# Per site additional spam blacklists
+# -- hashar Sat Jan 6 21:27:21 UTC 2007
+switch( $wgDBname ) {
+ 'frwiki':
+# $wgSpamBlacklistFiles[] =
'http://fr.wikipedia.org/w/index.php?title=<INSERT_TITLE>&action=raw&sb_ver=1';
+ break;
+ default:
+
+}
+*/
+

  1. Upload spam system

ayg wrote:

Hmm, why not do this for all wikis? With some consistent name, like
[[MediaWiki:Spam-blacklist]]?

anaconda wrote:

(In reply to comment #8)

Hmm, why not do this for all wikis?

That would be good.

Hmmm. I don't see any good reason to have a local *spam* blacklist since spam
should be avoided on all projects. It seems to me that choosing not to allow
links from certain sites as described by the proposer is not a matter of spam,
but of external link policy. Thus, talking about spam blacklist in this case
seems inconsistent to me.

forums wrote:

The question is: what happened if the english community decides to keep YouTube
whereas french one refuse to ?

christophe.henner wrote:

So we can change the name [[Mediawiki:Links not allowed by the local external
links policy. Not Spam black list, but it works the same way but it's not]] ?
This kind of name?

We had a quick discussion wich reveled that the local black list as ok to be set
up. Let's see. We set up a new external links policy, 2 solutions,
1/ We put it on the Meta Spam Blacklist, and ask to the nearly 400 other
projects to put this link on their local white list
2/ We activate the local black list, and everything is over.

In fact I don't see why guillom he's not supporting? Because of the name?

I don't know how the local "spam"blacklist works. What's the message showing
when someone tries to add to an article a link that has been previously added to
the local list? [[MediaWiki:Spamprotectiontitle]]? "Spam protection filter" ? Or
another message? I want to make it clear that this is a local policy about
external links, not spam.

christophe.henner wrote:

to Ashar Voultoiz, the page should be set up on this address please :)
http://fr.wikipedia.org/wiki/MediaWiki:Spam-blacklist

Thank you so much for your work :)

(In reply to comment #11)

The question is: what happened if the english community decides to keep YouTube
whereas french one refuse to ?

Then it's easy to check external links to Youtube using [[Special:Linksearch]].
I think if such a local list is created, it should be called
[[MediaWiki:Linkpolicy]] or something like that, and there should be a dedicated
message (different from [[MediaWiki:Spamprotectiontext]]) stating something like
"The page you wanted to save was blocked probably because of a link to an
external site that is against our [[Project:Link policy|policy]]"

christophe.henner wrote:

Ok for the name. We can really adapt the [[MediaWiki:Spamprotectiontext]] for
the new policy.

Actually there's more than 700 links to youtube, 483 to skyblog, 335 to
dailymotion, 180 to google.video, 742 to myspace, 1338 to blogspot... and more
and more each days. Pretty hard to check all of them and the new one and do it
daily :). Easier to check a single talk page asking for white listing them.

This page, and how it gonna be used, need a discussion on fr.

Blocks #4462 : 'Spam blacklist (tracking)'

adding patch, need-review. Not willing to activates it
without another sysadmin review.

The German Wikipedia ist also very interested in this feature. I would therefore
highly appreciate the timely implementation. I am also interested in comments
regarding experience with this feature from french admins.

Cheers
AT

christophe.henner wrote:

We're still waiting to this feature to be activated :)

christophe.henner wrote:

Can a dev activate it please. It seems Ashar made the patch for ages.

  • Bug 10478 has been marked as a duplicate of this bug. ***

(In reply to comment #10)

Hmmm. I don't see any good reason to have a local *spam* blacklist since spam
should be avoided on all projects. It seems to me that choosing not to allow
links from certain sites as described by the proposer is not a matter of spam,
but of external link policy. Thus, talking about spam blacklist in this case
seems inconsistent to me.

You may read what I posted on Bug 10478 (a duplicate bug) about why having a local black list is better than spending some time explaining things to a Meta sysop, etc.

I support a local black list for all wikis, as a special page. I would like to do anything to help this being set up sooner.

As of r23849, local MediaWiki:Spam-blacklist message is now always available for local blacklisting.

We are on r23973 on Wikimedia wikis, yet this special page is not recognized on them. What is the problem?