* always off configuration with that trigger for the given namespace.
* Leave unset to use the global options ($wgCaptchaTriggers).
*
* always off configuration with that trigger for the given namespace.
* Leave unset to use the global options ($wgCaptchaTriggers).
*
-#Example:
-#$wgCaptchaTriggersOnNamespace[NS_TALK]['create'] = false; //Allow creation of talk pages without captchas.
-#$wgCaptchaTriggersOnNamespace[NS_PROJECT]['edit'] = true; //Show captcha whenever editing Project pages.
+# Example:
+# $wgCaptchaTriggersOnNamespace[NS_TALK]['create'] = false; //Allow creation of talk pages without captchas.
+# $wgCaptchaTriggersOnNamespace[NS_PROJECT]['edit'] = true; //Show captcha whenever editing Project pages.
* Number of bad login attempts before triggering the captcha. 0 means the
* captcha is presented on the first login.
*/
* Number of bad login attempts before triggering the captcha. 0 means the
* captcha is presented on the first login.
*/
= $wgAutoloadClasses['CaptchaSessionStore']
= $wgAutoloadClasses['CaptchaCacheStore']
= $wgAutoloadClasses['CaptchaSpecialPage']
= $wgAutoloadClasses['CaptchaSessionStore']
= $wgAutoloadClasses['CaptchaCacheStore']
= $wgAutoloadClasses['CaptchaSpecialPage']
*/
function confirmEditSetup() {
global $wgGroupPermissions, $wgCaptchaTriggers;
*/
function confirmEditSetup() {
global $wgGroupPermissions, $wgCaptchaTriggers;
// We need to ensure that the captcha interface is accessible
// so that unauthenticated users can actually get in after a
// mistaken password typing.
// We need to ensure that the captcha interface is accessible
// so that unauthenticated users can actually get in after a
// mistaken password typing.