The AbuseFilter extension is offering a way for project admins to set filter rules that will checked when editing content on a wiki. We apply these rules when importing files to commons to respect the filters set up on that wiki. This can lead to either a completely blocked import or at least to a warning shown to the user.
The Codex flow needs to implement this behavior when we want to dynamically submit the form.
Instead of triggering the hook that the AbuseFilter listens on after submitting the form it could be triggered dynamically before and resulting error messages need to be displayed on the page.
WIP patch to add AbuseFilter to docker-dev: https://gitlab.com/wmde/technical-wishes/docker-dev/-/merge_requests/111