I was wondering how you import an xml dump from meta. When I tried using Special:Import, it gave me the error "Unknown Import Source Type". If there is a different way i should be doing this, please let me know. Thanks, shardsofmetal
shardsofmetal wrote:
I was wondering how you import an xml dump from meta. When I tried using Special:Import, it gave me the error "Unknown Import Source Type". If there is a different way i should be doing this, please let me know. Thanks,
If you tried to upload a large file to Special:Import, this probably won't work due to the default upload size limit of 2 megabytes in PHP.
For a large dump you'd want to use the command-line tool: gzip -dc bigfile.xml.gz | php importDump.php
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org