Page MenuHomePhabricator

Make importDump.php handle bzip2 and 7zip
Closed, ResolvedPublic

Description

importDump.php already handles gzip; it should handle the other formats that dumpBackup.php supports.


Version: unspecified
Severity: enhancement

Details

Reference
bz19289

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:42 PM
bzimport set Reference to bz19289.
bzimport added a subscriber: Unknown Object (MLST).

adds bzip support

bzip was easy enough, but when I try 7zip with:
$filename = 'mediawiki.compress.7z://' . $filename;

I get:
Warning: fopen(mediawiki.compress.7z://eswikinews-20090619-pages-meta-history.xml.7z): failed to open stream: No such file or directory in /.../maintenance/importDump.php on line 128

I've got p7zip, so I'm not sure what the problem is.

Attached: