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.
Do I need to provide more information?
# bunzip2 -dc /root/enwiki-latest-pages-articles.xml.bz2 | /var/www/PHP maintenance/importDump.php 100 (257.70138911503 pages/sec 257.70138911503 revs/sec) 200 (215.85242404671 pages/sec 215.85242404671 revs/sec) 300 (194.56211852307 pages/sec 194.56211852307 revs/sec) 400 (188.27240827463 pages/sec 188.27240827463 revs/sec) 500 (189.25815368724 pages/sec 189.25815368724 revs/sec) 600 (177.78198503318 pages/sec 177.78198503318 revs/sec) 700 (177.9798646001 pages/sec 177.9798646001 revs/sec) WikiRevision given a null title in import. Backtrace: #0 /var/www/usr/local/apache2/vhosts/10.3.0.13/wiki/includes/SpecialImport.php(620): WikiRevision->setTitle(NULL) #1 [internal function]: WikiImporter->in_page(Resource id #51, 'revision', Array) #2 /var/www/usr/local/apache2/vhosts/10.3.0.13/wiki/includes/SpecialImport.php(418): xml_parse(Resource id #51, 'idsummer Night'...', 0) #3 /var/www/usr/local/apache2/vhosts/10.3.0.13/wiki/maintenance/importDump.php(110): WikiImporter->doImport() #4 /var/www/usr/local/apache2/vhosts/10.3.0.13/wiki/maintenance/importDump.php(97): BackupReader->importFromHandle(Resource id #50) #5 /var/www/usr/local/apache2/vhosts/10.3.0.13/wiki/maintenance/importDump.php(132): BackupReader->importFromStdin() #6 {main}
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)
wikitech-l@lists.wikimedia.org