]> ToastFreeware Gitweb - toast/cookiecaptcha.git/blobdiff - ConfirmEdit.php
Localisation updates for extension messages from Betawiki (2008-07-24 10:48 CEST)
[toast/cookiecaptcha.git] / ConfirmEdit.php
index d632fb869988234a10ff817c7b74556630e0d245..cbf889098e8489003cb6d14850e2cdb6fd7288a2 100644 (file)
@@ -37,6 +37,8 @@ $wgExtensionFunctions[] = 'confirmEditSetup';
 $wgExtensionCredits['other'][] = array(
        'name' => 'ConfirmEdit',
        'author' => 'Brion Vibber',
+       'svn-date' => '$LastChangedDate$',
+       'svn-revision' => '$LastChangedRevision$',
        'url' => 'http://www.mediawiki.org/wiki/Extension:ConfirmEdit',
        'description' => 'Simple captcha implementation',
        'descriptionmsg' => 'captcha-desc',
@@ -147,6 +149,13 @@ $wgCaptchaBadLoginExpiration = 5 * 60;
 global $ceAllowConfirmedEmail;
 $ceAllowConfirmedEmail = false;
 
+/** 
+ * Number of bad login attempts before triggering the captcha.  0 means the
+ * captcha is presented on the first login.
+ */
+global $wgCaptchaBadLoginAttempts;
+$wgCaptchaBadLoginAttempts = 3;
+
 /**
  * Regex to whitelist URLs to known-good sites...
  * For instance: