Page MenuHomePhabricator

AbuseFilter's real-time syntax check uses GET, fails if too long
Closed, ResolvedPublicPRODUCTION ERROR

Description

Steps to replicate the issue (include links if applicable):

What happens?:
Chromium:
Uncaught NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://en.wikipedia.org/w/api.php?action=abusefilterchecksyntax&format=json&filter=[redacted]'.

Firefox:
The XHR request is unresolved.

What should have happened instead?:
No errors. The request goes through.

Other information:
The abusefilterchecksyntax API call was added in T187686 (worker-abusefilter.js).

Event Timeline

Restricted Application changed the subtype of this task from "Bug Report" to "Production Error". · View Herald TranscriptFeb 13 2026, 6:57 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change #1239324 had a related patch set uploaded (by Dragoniez; author: Dragoniez):

[mediawiki/extensions/AbuseFilter@master] Switch to POST for long abusefilterchecksyntax requests

https://gerrit.wikimedia.org/r/1239324

It looks like this is actually a duplicate of T403913.

Change #1239324 merged by jenkins-bot:

[mediawiki/extensions/AbuseFilter@master] Use POST for abusefilterchecksyntax requests

https://gerrit.wikimedia.org/r/1239324