2009/11/23 Jani Patokallio jpatokal@iki.fi:
Well, darn it. How do API imports in 1.15 work then? From the API:Import page:
" Pages can be imported with action=import, either by uploading an XML file or by specifying a page from another wiki (also known as transwikiing)."
I'm trying to use the API to slurp in export files generated by another program.
You need to use action=import, not action=upload to import files. Uploading the file as described there does not mean uploading it with action=upload, but uploading/embedding it in an HTTP request to action=import.
Roan Kattouw (Catrope)