]> 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 828570355fb8893d0abe01c80909be247822f7cb..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',
@@ -150,12 +148,11 @@ global $ceAllowConfirmedEmail;
 $ceAllowConfirmedEmail = false;
 
 /** 
- * Number of bad login attempts allowed before triggering the captcha.
- * 
- * Default is 0.
+ * Number of bad login attempts before triggering the captcha.  0 means the
+ * captcha is presented on the first login.
  */
 global $wgCaptchaBadLoginAttempts;
-$wgCaptchaBadLoginAttempts = 0;
+$wgCaptchaBadLoginAttempts = 3;
 
 /**
  * Regex to whitelist URLs to known-good sites...