How to Import Large XML to MediaWiki
- 1). Log into your computer using administrative user name and password.
- 2). Launch your preferred terminal emulator, such as PuTTY, from the Start menu.
- 3). Type the Internet Protocol (IP) address of your Web hosting site when prompted. Contact your system administrator or Web hosting service immediately if you do not know the IP address.
- 4). Type your FTP user name and password when prompted.
- 5). Type the following command at the prompt:
"php importDump.php <dumpfile>" where "<dumpfile>" is the name of the large XML file you wish to import. - 6). Close the terminal emulator when the import is completed.
Source...