Guild Wars Wiki:Requests for technical administration/ReCAPTCHA

From Guild Wars Wiki
Jump to navigationJump to search

Request for reCAPTCHA[edit]

Homepage
http://www.mediawiki.org/wiki/Extension:ReCAPTCHA
http://www.google.com/recaptcha/plugins/mediawiki
Type
Access extension
Additional requirements
reCAPTCHA API key (creation page)
Installation notes
Download the reCAPTCHA extension and extract it into the directory /extensions/recaptcha/.
Download a newer version of the ConfirmEdit extension and extract only the files ConfirmEdit.i18n.php, ConfirmEdit.php and ConfirmEdit_body.php into that same directory, replacing the already existing files.
In the /LocalSettings.php, remove the following line to disable the original ConfirmEdit extension:
require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" );
Insert the following lines to activate the reCAPTCHA extension, and fill in the API key details as required:
require_once( "$IP/extensions/recaptcha/ReCaptcha.php" );
$recaptcha_public_key  = ''; // reCAPTCHA public key
$recaptcha_private_key = ''; // reCAPTCHA private key
Finally, update the previously (with the ConfirmEdit extension) made settings to reflect these changes:
$wgGroupPermissions['*'            ]['skipcaptcha'] = false;
$wgGroupPermissions['user'         ]['skipcaptcha'] = false;
$wgGroupPermissions['autoconfirmed']['skipcaptcha'] = true;
$wgGroupPermissions['bot'          ]['skipcaptcha'] = true;
$wgGroupPermissions['sysop'        ]['skipcaptcha'] = true;

$wgCaptchaTriggers['edit']          = false;
$wgCaptchaTriggers['create']        = false;
$wgCaptchaTriggers['addurl']        = true; 
$wgCaptchaTriggers['createaccount'] = true;
$wgCaptchaTriggers['badlogin']      = true;
Reason for the request
While the current CAPTCHA offers basic protection, it can be too easily parsed by bots and with the current events it is no longer appropriate. reCAPTCHA offers a standardized way to present the CAPTCHA with an acceptable level of accessibility.