MediaWiki

Apihelp-import-description

From Gender and Tech Resources

Import a page from another wiki, or from an XML file.

Note that the HTTP POST must be done as a file upload (i.e. using multipart/form-data) when sending a file for the xml parameter.