https://bugzilla.wikimedia.org/show_bug.cgi?id=16611

           Summary: When using $wgCaptchaClass = 'MathCaptcha' Captcha does
                    not appear
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: ASSIGNED
          Severity: major
          Priority: Normal
         Component: ConfirmEdit
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


Created an attachment (id=5571)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=5571)
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.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are watching all bug changes.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to