# We should perhaps not create an archive in this case, but we continue anyway.
print("ERROR: The archive contains no history!")
@ -154,7 +156,7 @@ def main():
)
# Make a non-solid archive with all the text and metadata at default compression. You can also add config.txt if you don't care about your computer and user names being published or you don't use full paths so that they're not stored in it.
compressed=subprocess.call(
"7z"
PATH_7Z
+" a -ms=off ../%s-history.xml.7z.tmp %s-history.xml %s-titles.txt index.html Special:Version.html errors.log siteinfo.json"
%(prefix,prefix,prefix),
shell=True,
@ -175,7 +177,7 @@ def main():
shell=True,
)
subprocess.call(
"7z"
PATH_7Z
+" a -ms=off -mx=1 ../%s-wikidump.7z.tmp %s-images.txt images/"