Actually, MobileFrontend interprets all captchas to be an image. ConfirmEdit supports other modules, too, which are used especially on third party wikis, which ask questions or something similar. For this, the editor should support plain text CAPTCHAs, too.
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Handle CAPTCHAs with different mime types different | mediawiki/extensions/MobileFrontend | master | +20 -11 |
Related Objects
Event Timeline
Change 224295 had a related patch set uploaded (by Florianschmidtwelzow):
Handle CAPTCHAs with different mime types different
Change 224295 merged by jenkins-bot:
Handle CAPTCHAs with different mime types different
Is it possible to support <img> tag, display image?
For example, one of our question is: "What's her name: <img src="http://static.mengniang.org/common/thumb/8/83/25208068.png/250px-25208068.png" alt="" title="" />"
@Zoglun: uohhh, that's a bad practice. This would break the layout/design and would require, that we allow to pass html as the captcha content :/ In my point of view, we shouldn't support that. What does others mean? @Jdlrobson @Jhernandez ?
I don't really understand the question. I would hope the captcha API would return everything needed for the client to construct the interface
e.g. {
questionid: 1,
question: "What's her name?",
img: {
alt: "",
title:"",
src: ""
}
Passing an answer to the api with questionid 1 would then either let editing complete or not.