So I was just playing around with the XML-RPC API and tried to upload files. This worked great, and I can see that the file I wanted to upload was indeed uploaded.
But there was a problem. It uploaded with some sort of "ISO-8859 text" MIME type. I wouldn't care what the MIME type was, except that this is an image that needs to be displayed on the page, and this isn't a MIME type that works for displaying images. I manually deleted the file and manually uploaded it. This time, I got the image/png ("PNG image data") MIME type, and now my file is visible.
When you get file metadata, you can see the MIME type associated with a file. Why can't you set the MIME type on upload, or why isn't Wikidot smart enough to figure this out? (After all, when you do a manual file upload, it can figure it out.)
Am I just missing something?