Manual talk:ImportDump.php

Jump to navigation Jump to search

Problem with --uploads[edit]

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?[edit]

Does this script command support wildcards? For example, is there a syntax that would allow import of *.xml in a given directory? Tcrimsonk (talk) 02:41, 12 July 2016 (UTC)

No. --Nemo 05:38, 12 July 2016 (UTC)

Import without namespace[edit]

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[edit]

Mention that pages will be assigned to existing users with the same name, except of course if e.g., "--username-prefix=Imported>" is used. Jidanni (talk) 14:16, 3 January 2020 (UTC)

Many options different nowadays[edit]

Looking at the current source file, e.g., --username-prefix now is 'Prefix for interwiki usernames', and lots of other changes, perhaps. Jidanni (talk) 15:07, 3 January 2020 (UTC)