Summary
The mediawiki/hcaptcha/risk_score schema supports action=createaccount and identifier_type=account, but no such events are currently produced to that schema, because we currently log only to serversideaccountcreation.
Technical notes
WikimediaEvents/includes/EditPage/CaptchaScoreHooks.php implements PageSaveComplete and EditPage::attemptSave_after. We should add a handler for account creation.
We can leave the existing serversideaccountcreation schema integration in place for now.
Acceptance criteria
- account creations that are checked by hCaptcha emit a createaccount event with identifier_type=account and a valid risk score in the hcaptcha/risk_score schema