Don't just ajaxSetup in api.js
Closed, ResolvedPublic


A TODO note in api.js reads "TODO: this might be dangerous and cause conflicts with other code. should we move it to Api#ajax?"

It turns out it conflicts with desktop tools like Twinkle:

Thus, we should do what the TODO note says.

Version: unspecified
Severity: normal


bzimport set Reference to bz57556.
bzimport added a subscriber: Unknown Object (MLST).

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Mingle card

Change 97832 had a related patch set uploaded by JGonera:
Don't set defaults using $.ajaxSetup()

Change 97832 merged by jenkins-bot:
Don't set defaults using $.ajaxSetup()

The fix to this seems to have broken uploads. Reverting this change fixes the problem on Special:Uploads

Add Comment