PmWiki Export
Questions answered by this recipe
How do I export my pages, with complete version history, to a Git-based repository?
Description
PmWiki Export works by using a Node script to communicate with a PmWiki cookbook recipe. The cookbook recipe exports PmWiki page history as a JSON object. The Node script retrieves the complete history for all pages, stores the history in a SQLite database, and "replays" each version chronologically in a new Git repository.
Installation
See on Github.
Important: This script calls ReadPage
and RestorePage
directly, bypassing security settings. I cannot get HandleAuth
to work properly. For that reason, I am intentionally keeping the installation instructions vague. I recommend copying wiki.d/
locally to a clean installation of PmWiki, and running the export script against a development server.
Notes
- TBD.
Change log / Release notes
- 1.0.0 Initial Release
Comments
See discussion at PmWikiExport-Talk?
User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.