Summary
We should ensure that the ConfirmEdit (CAPTCHA extension) hCaptcha integration in VisualEditor is not loaded unless it is enabled in that interface
Background
- We have added support for loading and rendering hCaptcha in VisualEditor
- This support does not include execution yet and so we have decided to wait till later to enable support in those interfaces
- However, the VisualEditor integration code is loaded when it detected that for a "generic edit" hCaptcha will be needed
- When the VisualEditor edit is made, we are correctly not requiring hCaptcha to be filled out. However, the determination on whether to load the interface is made not during the context of a VisualEditor edit and so returns that hCaptcha is required (as it is for a generic wikitext edit)
- This should be changed so that we can indicate that the VisualEditor integration should not be enabled
- This is likely through a temporary configuration value that indicates whether the VisualEditor on-load integration should be used
Acceptance criteria
- The on-load VisualEditor hCaptcha integration in ConfirmEdit (CAPTCHA extension) can be disabled via a sitewide configuration setting