Author: manishsmail
Description:
When I tried to import a .bz2 dump, I got this error:
maintenance>php importDump.php Downloads\mediawikiwiki-20110115-pages-articles.xml.bz2
Warning: fopen(compress.bzip2://Downloads\mediawikiwiki-20110115-p
ages-articles.xml.bz2): failed to open stream: Invalid argument in maintenance\importDump.php on line 130
Warning: fread(): supplied argument is not a valid stream resource in includes\Import.php on line 1063
Warning: feof(): supplied argument is not a valid stream resource in includes\Import.php on line 1059
Done!
You might want to run rebuildrecentchanges.php to regenerate
the recentchanges page.
None of the pages were imported. I extracted the .php file manually and the import worked. It seems that the .bz2 decompressor isn't working, but I'm not sure.
Version: 1.16.x
Severity: minor