A ZIP file created with the mw-zip command (see docs/commands.txt) contains all information needed to render a collection of articles into some output format like PDF.
The ZIP files contains the following files and directories:
metabook.json
A Metabook dictionary, serialized in JSON format. See docs/metabook.txt.
content.json
A dictionary, serialized in JSON, format with the following items:
articles (dictionary):
A dictionary with article titles as keys and dictionaries with the following items as values:
revision (string):
Article revision, i.e. oldidcontent-type (string):
Fixed string "text/x-wiki"content (string):
Wikitext of articleurl (string):
URL of articleauthors (list of strings):
List of principal article authorstemplates (dictionary):
A dictionary with template titles without the prefix (i.e. without "Template:") as keys and dictionaries with the following items as values:
content-type (string):
Fixed string "text/x-wiki"content (string):
Wikitext of tempaltesources (dictionary):
A dictionary with URLs of MediaWikis as keys and meta infomation about the wiki as values. See source objects in metabook.txt.images (dictionary):
A dictionary with image titles without the prefix (i.e. without "Image:") as keys and dictionaries with the following items as values:
url (string):
URL of the imagedescriptionurl (string, optional):
URL to the image pagetemplates (string, optional):
List of template names references on the image description page