Last modified: 2010-02-06 20:22:20 UTC
The documentation for "action=upload" currently is incomplete and confusing. The wiki page, http://www.mediawiki.org/wiki/API:Edit_-_Uploading_files, describes an earlier proposed version of the API that is different from what is currently in the software. The help message (http://en.wikipedia.org/w/api.php) contains at least one clear error: the third bullet reads '* Have the MediaWiki server fetch a file from a URL, using the "url" and "asyncdownload" parameters'; but "asyncdownload" does not appear in the list of accepted parameters.
The asyncdownload is related to the temporary variable: $wgEnableAsyncDownload which was set to "false" since it background tasks were not support in windows ... but I believe we can depreciate that as a fix for background task was made for windows?
I have made the documentation at http://www.mediawiki.org/wiki/API:Edit_-_Uploading_files somewhat more up to date. Some information is still missing, partly as I haven't successfully tested the relevant functionality yet.
(In reply to comment #2) > I have made the documentation at > http://www.mediawiki.org/wiki/API:Edit_-_Uploading_files somewhat more up to > date. Some information is still missing, partly as I haven't successfully > tested the relevant functionality yet. > Looks good, thanks!
How (in)?complete is this now?
Looks in pretty good shape now.