Preventing spam on MediaWiki

From ULYSSIS documentation
Revision as of 21:14, 18 December 2015 by Covert (talk | contribs) (Created page with "==google's recaptcha== ===What is recaptcha and how/will it help prevent spam ?=== For answers to those questions you can look at google's page about recaptcha(https://google....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

google's recaptcha

What is recaptcha and how/will it help prevent spam ?

For answers to those questions you can look at google's page about recaptcha(https://google.com/recaptcha)

Instalation

This instalation guide requires mediawiki 1.26 or higher

  • Open your *LocalSettings.php* file which is in your mediawiki instalation folder
    • put the following piece of text in the above mentioned file

require_once "$IP/extensions/ConfirmEdit/ConfirmEdit.php";

wfLoadExtension( 'ConfirmEdit/ReCaptchaNoCaptcha' ); $wgCaptchaClass = 'ReCaptchaNoCaptcha'; $wgReCaptchaSiteKey = ' your public/site key here '; $wgReCaptchaSecretKey = ' your private key here ';

exmaple of public and private key (https://i.imgur.com/vGJKEXx.png)
  • mediawiki wil start loading recaptcha in the background and once done wil start using recaptcha for defending you from bots