Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Jul 16, 2013 11:02 pm 
Offline
Senior Member
User avatar

Joined: Wed Jun 26, 2013 1:53 am
Posts: 118
Does anyone know any good spam account prevention measures for MediaWiki, such as extensions or DNS blacklist domains? I tried ConfirmEdit and Asirra but they cause a 500 error on the account creation page, thereby preventing anyone from creating accounts.

_________________
Homepage www.sturmkrieg.com
Social network Gamernet
Development website Sashaweb Development
Imageboard img.sturmkrieg.com
WikiHub free wiki host Community Wiki


Top
   
PostPosted: Wed Jul 17, 2013 5:42 am 
Offline
Senior Member
User avatar

Joined: Thu Jun 16, 2011 8:24 am
Posts: 412
Location: Cyberspace
Look on MediaWiki's Extensions Matrix. There are a few anti-spam extensions listed there.

I can say from experience that it's best to test extensions on a test site first, to make sure they'll work in a live installation.

_________________
Kris the Piki Geeker


Top
   
PostPosted: Thu Jul 18, 2013 2:00 am 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
ConfirmEdit is working for me on MediaWiki 1.19. We're using QuestyCaptcha (some discussion here about this vs. reCAPTCHA).

The only thing I would add is that eventually (after 6-12 months) someone will teach the robots the correct answers and you'll need to change your questions/answers to something new. Once we did that, the bogus account creation stopped completely. Other than that, it's been really effective for us.


Top
   
PostPosted: Thu Jul 18, 2013 11:07 am 
Offline
Senior Member
User avatar

Joined: Wed Jun 26, 2013 1:53 am
Posts: 118
Vance wrote:
ConfirmEdit is working for me on MediaWiki 1.19. We're using QuestyCaptcha (some discussion here about this vs. reCAPTCHA).

The only thing I would add is that eventually (after 6-12 months) someone will teach the robots the correct answers and you'll need to change your questions/answers to something new. Once we did that, the bogus account creation stopped completely. Other than that, it's been really effective for us.


Thanks. I tried to do that, but ConfirmEdit creates a 500 error on the account creation page.

_________________
Homepage www.sturmkrieg.com
Social network Gamernet
Development website Sashaweb Development
Imageboard img.sturmkrieg.com
WikiHub free wiki host Community Wiki


Top
   
PostPosted: Sat Jul 20, 2013 12:53 pm 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
What do your logs say? If they don't contain anything about the error, you may need to alter the error reporting level.


Top
   
PostPosted: Sat Jul 20, 2013 1:17 pm 
Offline
Senior Member
User avatar

Joined: Wed Jun 26, 2013 1:53 am
Posts: 118
Code:
[Sat Jul 20 13:09:56 2013] [error] [client 173.66.232.101] PHP Fatal error:  Class 'QuestyCaptcha' not found in /home/sasha/web_servers/wikihub.ssu.lt/shared_files/ConfirmEdit/ConfirmEditHooks.php on line 16, referer: http://community.wikihub.ssu.lt/Special:RecentChanges


The extension is kept in a shared files directory used by the wiki farm, though there's only one wiki ATM.

EDIT

I was going from Special:RecentChanges to Special:CreateAccount.

_________________
Homepage www.sturmkrieg.com
Social network Gamernet
Development website Sashaweb Development
Imageboard img.sturmkrieg.com
WikiHub free wiki host Community Wiki


Top
   
PostPosted: Sun Jul 21, 2013 5:06 pm 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
A couple things to look into:

On our wiki, the account creation page is not accessed as Special:CreateAccount, it is accessed as Special:UserLogin&type=signup. This may be a difference between versions of MediaWiki, I don't know. (I'll note that trying to access Special:CreateAccount on our wiki redirects to Special:UserLogin/signup, so this may not actually be a problem.)

Do you have a line like the following in your LocalSettings.php?
Code:
require_once( "$IP/extensions/ConfirmEdit/QuestyCaptcha.php" );


I think you'll need to load that before you can access the QuestyCaptcha class. Since your directory structure seems to be special, you'll have to modify the above line so it points to the proper location.


Top
   
PostPosted: Sun Jul 21, 2013 7:02 pm 
Offline
Senior Member
User avatar

Joined: Wed Jun 26, 2013 1:53 am
Posts: 118
Vance wrote:
A couple things to look into:

On our wiki, the account creation page is not accessed as Special:CreateAccount, it is accessed as Special:UserLogin&type=signup. This may be a difference between versions of MediaWiki, I don't know. (I'll note that trying to access Special:CreateAccount on our wiki redirects to Special:UserLogin/signup, so this may not actually be a problem.)

Do you have a line like the following in your LocalSettings.php?
Code:
require_once( "$IP/extensions/ConfirmEdit/QuestyCaptcha.php" );


I think you'll need to load that before you can access the QuestyCaptcha class. Since your directory structure seems to be special, you'll have to modify the above line so it points to the proper location.


I have a GlobalSettings.php file in another directory that's included, but I don't have that line in it. I'll add it. Thanks.

EDIT

It seems to work. Thanks.

_________________
Homepage www.sturmkrieg.com
Social network Gamernet
Development website Sashaweb Development
Imageboard img.sturmkrieg.com
WikiHub free wiki host Community Wiki


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group