Per T41877, this was needed for https://en.wikipedia.org/wiki/Wikipedia:File_Upload_Wizard to work. Is it still? @Rillke, do you know if that tool has been updated to use something saner since 2012?
// However, since api.php sends back a response page that humans won't want to read, // we'll have to channel that response away and discard it. We'll use a hidden iframe // for that purpose. // Unfortunately, it doesn't seem possible to submit file upload content through an // Xmlhtml object via Ajax.
Last update was 11:26, 24. Jun. 2015 and at this time, MediaWiki still supported IE8 so iframe upload was still required.
Brought up the issue at the script's talk page.
Hmm. Do *you* really want to support IE 8/9 with that tool, though? It
would probably be fine to just point these users to the plain
(MediaWiki doesn't support IE 8 anymore, but IE 9 can't upload files
through XMLHTTPRequest either. IE 10 can.)
Do *you* really
I, the community or Future Perfect at Sunrise? I don't want.
would probably be fine to just point these users to the plain Special:Upload form.
I think the issue they've been trying to solve with that script was something with the workflow, mainly getting fair use material upload to WP and sending the free stuff to Commons.
It appears still necessary to support FileUploadWizard.js, until that tool is updated to use more modern APIs (it is now definitely possible to "submit file upload content through an Xmlhtml object via Ajax").