Last modified: 2008-12-20 02:13:04 UTC
Created attachment 5571 [details] Patch If $wgCaptchaClass is set to MathCaptcha the captcha does not appear as the regex in line 45 of MathCaptcha.class.php matches almost the whole img-tag. This results in not showing the captcha. Using the regex /alt=".*?"/ with a non-greedy instead of /alt=".*"/ with a greedy operator would help which do not remove the scr-attribute.
Applied in r44827 -- also fixed the incorrect field name for the answer, so it actually works now. :)