Problem with --uploads
I'm having absolutly no luck with this. I can import everything perfectly fine, but if i try to add --uploads it fails with the following.
PHP Warning: XMLReader::open(): Unable to open source data in /www/docrootssl/wiki/includes/libs/XmlTypeCheck.php on line 137 PHP Fatal error: Call to undefined method FileRepoStatus::getXml() in /www/docrootssl/wiki/includes/Import.php on line 1602
Wildcard support for filename?
- No. --Nemo 05:38, 12 July 2016 (UTC)
Import without namespace
Hi, I'm trying to migrate a wiki, but when I execute the ImportDump the articles don't migrate to their correct namespace. All of them go to Main. How can I do now?
[EDIT] I've made a mistake in my LocalSettings, but I couldn't find it. Now I could resolve it.
Mention that pages will be assigned to existing users
Many options different nowadays
Parallelizing the import
As per request in the Note in this section:
I stumbled across this hint while already importing simplewiki-20220101-pages-articles-multistream.xml which was taking quite some time. So I opened up to 8 terminals and ran additional instances of importDump.php using the --skipTo option with steps of 25000. Once an instance catches up to its successor, the script speeds up considerably, at which point I terminated the instance.
The slowdown in the course of time mentioned elsewhere still happens (any clues on why this happens?), so I did the above iteratively: when all except one of the initial instances were done (i.e., terminated by Ctrl-C), I partitioned the rest that was left to process with smaller steps for --skipTo.
In the end, Special:Statistics shows 357866 Pages (but no Content pages?). Displaying random pages indicates that the import succeeded.
Second round using the newer simplewiki-20221120-pages-articles-multistream.xml indicates that terminating/restarting instances is not required. Started eight instances with steps of 50000 for the --skipTo option and just let them run. Sorry, forgot to time the calls. After the import, Special:Statistics shows 420701 Pages.