The message 'fancycaptcha-imgcaptcha-ph' ("Enter the text you see on the image")
should only be used as placeholder for FancyCaptcha.
This affected editors using CaptchaInputWidget in JS, such as VisualEditor
and DiscussionTools.
Change-Id: Ica53b2f3149e9039c95e733e0e89ba62356844e4
* ext.confirmEdit.CaptchaInputWidget.js:
Based on code from ve.init.mw.CaptchaSaveErrorHandler.js
* ext.confirmEdit.CaptchaInputWidget.less:
Based on code from mw/ext/VE repo in ve.ui.MWSaveDialog.css
* ConfirmEditHooks.php:
Based on code from mw/ext/VE repo in VisualEditorHooks.php
Change-Id: I6605017fd31a4f96c529dd0beb69e9f4433cebc1
Previously, clicking it would change the image, but the widget would
still expect the user to fill in the original CAPTCHA.
Change-Id: I24a963e760951427f6d233302429c1baf1fb299f
This can be merged before the code is dropped from VE, as
it will just overwrite the registry entry.
Bug: T141676
Depends-On: I2c35b9443208928db43bcfd515864641b10cc602
Change-Id: I2fa7ca7203e0a82f5ce9b79e2642dba2baba6c5a
The user now can press the preview button to bring up an interpreted list
of the lines of the interface message MediaWiki:Captcha-ip-whitelist to check
if the added/remained data is (still) a valid list of (whitelisted) IP addresses.
Bug: T129757
Change-Id: Ic61f00e7f88c9290ae6e11f7258c11a730ac98c8
The jQuery selector to find the form only worked for create account;
it now works for the captchas on login password failures and on page
editing.
Remove two debugging console.log() lines and fix some JSHint errors.
Rename the message for login captchas from the unused asirra-badpass to
the correct asirra-badlogin.
Bug: 39536
Change-Id: I92c3cb93337d4a704221d5a0e50ed56ae3b6b1cf
This changes the CSS of the .fancycaptcha-image-container to allow
positioning within it, and repositions .fancycaptcha-reload at its
lower-right. The container is taller than nearly all images, but
there's a chance the ↻Refresh link might obscure part of a captcha
image.
This is compatible with the new Create account form's repositioning of
the FancyCaptcha inside a gray frame using JS, though gerrit I003c5f1b75
improves Create account once this is deployed.
Bug: 47699
Change-Id: I57be0bc8aa80b9ea6148db979ad28397d2107b86
This makes the icon and text a single item, so they don't split across
lines, and reduces code and messages.
Bug: 47398
Change-Id: If81313b9fe03693dcdc06d5d682f0ef9a9994f76
This adds HTML, CSS, and JS to FancyCaptcha output to refresh the image,
which requests it via a new fancycaptchareload API.
It also cleans up the Asirra class a little.
Bug: 14230
Change-Id: I4e476f32de199534c9798fc78e8490b3ef91dd45