From c4372dd38a4d109b4f3881ea63b667e33adbe503 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 26 Apr 2012 18:23:31 +0200 Subject: Update to MediaWiki 1.18.3 --- extensions/ConfirmEdit/FancyCaptcha.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'extensions/ConfirmEdit/FancyCaptcha.php') diff --git a/extensions/ConfirmEdit/FancyCaptcha.php b/extensions/ConfirmEdit/FancyCaptcha.php index 4204546b..dbc136b8 100644 --- a/extensions/ConfirmEdit/FancyCaptcha.php +++ b/extensions/ConfirmEdit/FancyCaptcha.php @@ -29,6 +29,9 @@ if ( !defined( 'MEDIAWIKI' ) ) { exit; } +require_once dirname( __FILE__ ) . '/ConfirmEdit.php'; +$wgCaptchaClass = 'FancyCaptcha'; + global $wgCaptchaDirectory; $wgCaptchaDirectory = "$wgUploadDirectory/captcha"; // bad default :D @@ -40,8 +43,8 @@ $wgCaptchaSecret = "CHANGE_THIS_SECRET!"; /** * By default the FancyCaptcha rotates among all available captchas. - * Setting $wgCaptchaDeleteOnSolve to true will delete the captcha - * files when they are correctly solved. Thus the user will need + * Setting $wgCaptchaDeleteOnSolve to true will delete the captcha + * files when they are correctly solved. Thus the user will need * something like a cron creating new thumbnails to avoid drying up. */ $wgCaptchaDeleteOnSolve = false; -- cgit v1.2.3-54-g00ecf