Simple anti-spam check?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Simple anti-spam check?

Eric K-2
Does anyone know how I can detect whether a user has inserted a website link in the revision of the text that was submitted? I know how to check their age.
My idea for this extension it: If a new user submits a link, they'll be asked to instead use the talk page.
_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Simple anti-spam check?

Adam Meyer
You can run all edits through a regular expression to check for this exact type of thing
http://www.mediawiki.org/wiki/Manual:$wgSpamRegex

I used this on a site of mine to see if a user inserted 10 or more links - Just place in local settings
$wgSpamRegex = '/(\[http:\/\/[a-z0-9\.\/\%_-]+(\s+[a-z0-9\.-]+)+\]\s+){10}/i';




On Jun 18, 2011, at 3:04 PM, Eric K wrote:

> Does anyone know how I can detect whether a user has inserted a website link in the revision of the text that was submitted? I know how to check their age.
> My idea for this extension it: If a new user submits a link, they'll be asked to instead use the talk page.
> _______________________________________________
> MediaWiki-l mailing list
> [hidden email]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Simple anti-spam check?

Platonides
In reply to this post by Eric K-2
Eric K wrote:
> Does anyone know how I can detect whether a user has inserted a website link in the revision of the text that was submitted? I know how to check their age.
> My idea for this extension it: If a new user submits a link, they'll be asked to instead use the talk page.

You can configure AbuseFilter for that, or use ConfirmEdit to force them
solve a captcha when adding links.


_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Simple anti-spam check?

Eric K-2
Thank you both. I had forgotten about the configuration settings for Confirm Edit which I do have installed.They also had the code for "check for new links", so I'll look at it if I go that route.
For now I just changed the capctcha to a slightly more difficult one, in ConfirmEdit.
 


--- On Sat, 6/18/11, Platonides <[hidden email]> wrote:


From: Platonides <[hidden email]>
Subject: Re: [Mediawiki-l] Simple anti-spam check?
To: [hidden email]
Date: Saturday, June 18, 2011, 6:05 PM


Eric K wrote:
> Does anyone know how I can detect whether a user has inserted a website link in the revision of the text that was submitted? I know how to check their age.
> My idea for this extension it: If a new user submits a link, they'll be asked to instead use the talk page.

You can configure AbuseFilter for that, or use ConfirmEdit to force them
solve a captcha when adding links.


_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Simple anti-spam check?

Adam Meyer
Just a word of wisdom on the capchtas
The reason they do not work 100% of the time is that the spam is not a bot, but an actual person doing this. Sometimes paid per broken captcha.

Making it hard enough to stop spam often means making it too hard for legitimate users as well. I for one have a very hard time with them. Often taking me 3-4 tries to get it right on the more complex ones.


On Jun 19, 2011, at 10:22 AM, Eric K wrote:

> Thank you both. I had forgotten about the configuration settings for Confirm Edit which I do have installed.They also had the code for "check for new links", so I'll look at it if I go that route.
> For now I just changed the capctcha to a slightly more difficult one, in ConfirmEdit.
>  
>
>
> --- On Sat, 6/18/11, Platonides <[hidden email]> wrote:
>
>
> From: Platonides <[hidden email]>
> Subject: Re: [Mediawiki-l] Simple anti-spam check?
> To: [hidden email]
> Date: Saturday, June 18, 2011, 6:05 PM
>
>
> Eric K wrote:
>> Does anyone know how I can detect whether a user has inserted a website link in the revision of the text that was submitted? I know how to check their age.
>> My idea for this extension it: If a new user submits a link, they'll be asked to instead use the talk page.
>
> You can configure AbuseFilter for that, or use ConfirmEdit to force them
> solve a captcha when adding links.
>
>
> _______________________________________________
> MediaWiki-l mailing list
> [hidden email]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> _______________________________________________
> MediaWiki-l mailing list
> [hidden email]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l