Summary
In T422913: Rework mw.libs.confirmEdit.CaptchaInputWidget to not always require an input field, the mw.libs.confirmEdit.CaptchaInputWidget class was replaced with the mw.libs.confirmEdit.CaptchaWidget class. The latter supports hCaptcha which is being rolled out slowly to more editing interfaces. Convenient-Discussions should use the new module over the soon to be deprecated module.
Background & Technical details
- mw.libs.confirmEdit.CaptchaInputWidget relies on the idea that the captcha will always have an input field to be rendered
- This means that the mw.libs.confirmEdit.CaptchaInputWidget class has been deprecated and Convenient-Discussions should use the mw.libs.confirmEdit.CaptchaWidget class instead
- The CaptchaWidget class still supports all the captcha types supported by CaptchaInputWidget, so changing this does not represent a backwards step in compatibility
Acceptance criteria
- Convenient-Discussions uses mw.libs.confirmEdit.CaptchaWidget instead of mw.libs.confirmEdit.CaptchaInputWidget