Summary
mw.libs.confirmEdit.CaptchaInputWidget is used by other extensions to load a CAPTCHA widget via JS code, such as by DiscussionTools. We should refactor and rename it to not always display an input field, as some CAPTCHAs (like hCaptcha) don't use an input field but implement their own UI
Acceptance criteria
- A replacement for mw.libs.confirmEdit.CaptchaInputWidget is added that does not assume an input field is always needed
- The new code can display nothing but the CAPTCHA widget (without any other specific styling) if requested, so it can be added into an element that already defines it's own custom styling