In Mathematical expression: Simple text input (for T405730), we changed the API errorformat parameter from html to plaintext. However, in the long term we should return to the HTML error format, as it can be more informative (e.g. hyperlinks might have been stripped from the plain text; AbuseFilter errors might have contained an error box).
Acceptance criteria:
- All wbui2025 API requests use errorformat=html
- HTML errors are displayed correctly (no double-escaping but also no XSS vulnerability)