Last modified: 2014-08-13 21:20:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T48759, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46759 - difficult to parse or restyle CAPTCHA output
difficult to parse or restyle CAPTCHA output
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
ConfirmEdit (CAPTCHA extension) (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 47372
  Show dependency treegraph
 
Reported: 2013-04-01 19:03 UTC by spage
Modified: 2014-08-13 21:20 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description spage 2013-04-01 19:03:21 UTC
ConfirmEdit adds a blob of plain HTML to the template header in response to the UserCreateForm hook. It appears at the top of the form and doesn't fit with the form's layout in divs or table rows. The ACUX experiment and initial version of the Agora create account form use jQuery to restyle this into more attractive HTML lower down in the form. Meanwhile the Mobile front end parses the header HTML in PHP and builds a more attractive input field from it. Both approaches are fragile and don't work with other CAPTCHA providers.

The create account form could run the proposed APICreateAccountBeforeCreate hook to get the pieces of the CAPTCHA (Gerrit change #53793 and Gerrit change #53794), but then it would have to discourage ConfirmEdit from responding to UserCreateForm hook as well. Another possibility is ConfirmEdit could run its own hook within UserCreateForm handling that supplies structured CAPTCHA data.
Comment 1 Brion Vibber 2013-04-02 17:50:09 UTC
I like the idea of using the internal API format to build the form more generically...
Comment 2 Matthew Flaschen 2013-04-19 21:06:11 UTC
As S noted on bug 47372, we should already be able to use addCaptchaAPI for this.  We could perhaps add a class the CAPTCHA output, so it could be removed easily from the header (and eventually phase out the HTML injection into the header entirely).
Comment 3 Gerrit Notification Bot 2014-08-13 21:20:22 UTC
Change 60350 abandoned by Spage:
Use addCaptchaAPI to supply info to signup form

Reason:
I'm not working on this.

https://gerrit.wikimedia.org/r/60350

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links