]> ToastFreeware Gitweb - toast/cookiecaptcha.git/blobdiff - ConfirmEdit.php
Big commit. Removing svn-version and svn-date from extensions. Per the list, these...
[toast/cookiecaptcha.git] / ConfirmEdit.php
index 2f7173e992d1e0e5b35f2d0554f970819275e7d6..5c3647a2ba62745c0abe0895a126b1fa68e929f2 100644 (file)
@@ -37,8 +37,6 @@ $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',
@@ -149,6 +147,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: