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.