]> ToastFreeware Gitweb - toast/cookiecaptcha.git/blobdiff - CookieCaptcha.php
Added required lines in LocalSettings.php as comment.
[toast/cookiecaptcha.git] / CookieCaptcha.php
index 82b265c275ac44f83d5446875b5fc947e6647aea..7c58df8b252315dc35a1ec833e2f0cef033288d4 100644 (file)
  * @ingroup Extensions
  */
 
+/*
+TODO:
+ * Delete: "Delete"/link CookieCaptcha.i18n.php
+ * Use timestamp in cookie
+ * Version 2: Without apache
+ * Provide sample image?
+ */
+
 /* The idea of this "captcha" is to let the browser download an image that sets a cookie.
 Research showed that spam bots don't load images. You have to setup the cookie e.g. in the apache2
 configuration file. Here is an example where an image that's uploaded with mediawiki is used:
@@ -37,6 +45,14 @@ configuration file. Here is an example where an image that's uploaded with media
         ExpiresDefault "access plus 5 second"
     </Files>
 </Directory>
+
+Required settings in LocalSettings.php:
+
+require_once("$IP/extensions/CookieCaptcha/ConfirmEdit.php");
+require_once("$IP/extensions/CookieCaptcha/CookieCaptcha.php");
+$wgCaptchaClass = 'CookieCaptcha';
+$wgCaptchaTriggers['createaccount'] = true;
+
 */