Summary
In T405597: hCaptcha: Update instrumentation for risk score we added support for logging the risk score for saved edits. In this task, we should also record the score for edits that failed (e.g. blocked by AbuseFilter).
Technical notes
We can potentially use onEditPage__attemptSave_after to look at the $status object. Ideally we'd want to be able to access the AbuseFilter log ID (or other mechanism involved in blocking the edit).
We'll need to update the schema and also add some code in WikimediaEvents for this logging.
Acceptance criteria
- Risk scores for edits that do not save are logged in a way that allows us to identify why the edit was blocked