Feature #43978
openExport all Wiki pages as ZIP archive
Description
Redmine currently provides PDF and HTML export options for a project's Wiki. This patch adds a ZIP export that includes all Wiki pages as raw source files, with one file per page.
After applying the patch, a "ZIP" option appears alongside the existing "PDF" and "HTML" options in the "Also available in" section on both the "Index by title" and "Index by date" pages. The downloaded archive contains the raw source of each Wiki page. Each exported file also reflects the page's updated_on timestamp, which makes it easier to judge the freshness of the content.
This makes it easier to reuse and process Wiki content outside Redmine, especially when working with external tools.
This patch intentionally focuses on exporting Wiki page source only. Even without attachments, it is already useful for the use cases listed below. Including attachments would introduce additional design questions such as archive structure, filename collisions, and handling of attachment references in Wiki content.
Typical use cases include:
- processing Wiki content with generative AI for summarization or analysis
- using AI agents to assist with updating, reorganizing, or maintaining Wiki pages
- editing or reviewing multiple Wiki pages in bulk outside the browser

$ unzip -l /tmp/ecookbook-wiki.zip
Archive: /tmp/ecookbook-wiki.zip
Length Date Time Name
--------- ---------- ----- ----
117 03-08-2007 08:18 Another_page.txt
38 03-08-2007 08:18 Child_1.txt
25 03-08-2007 08:18 Child_1_1.txt
38 03-08-2007 08:18 Child_2.txt
101 03-07-2007 08:10 CookBook_documentation.txt
6 04-19-2026 16:10 Foo_.txt
6 04-19-2026 16:12 Foo_(1).txt
9 04-19-2026 15:59 Foo_bar.txt
67 03-08-2007 08:18 Page_with_an_inline_image.txt
373 03-08-2007 08:18 Page_with_sections.txt
17 04-19-2026 14:00 Test_2026-04-19.txt
24 03-08-2007 08:18 �?�?ика_менеджмен�?а.txt
--------- -------
821 12 files
Files
No data to display