Date: Mon, 11 Sep 2006 21:14:34 +0200 From: Brion Vibber brion@pobox.com Subject: Re: [Wikitech-l] importDump.php error, WikiRevision given a null title in import. To: Wikimedia developers wikitech-l@wikimedia.org Message-ID: 4505B59A.80400@pobox.com Content-Type: text/plain; charset="iso-8859-1"
Noah Spurrier wrote:
I am able to import over 700 articles using importDump.php, but part way through the process I get get an exception complaining that a Wiki Revision was given a null title. Any tips on how to resolve this? I'm using MediaWiki 1.7.1 with a wiki dump downloaded current from August 17th.
From a Wikimedia site? Add '+' to $wgLegalTitleChars.
-- brion vibber (brion @ pobox.com)
That worked perfectly; although, it seems strange that the default MediaWiki configuration is not compatible with a Wikipedia dump.
I edited includes/DefaultSettings.php and added a + to this line 175: $wgLegalTitleChars = " %!"$&'()*,\-.\/0-9:;=?@A-Z\\^_`a-z~\x80-\xFF"; to get this line: $wgLegalTitleChars = " +%!"$&'()*,\-.\/0-9:;=?@A-Z\\^_`a-z~\x80-\xFF";
Yours, Noah