This recipe enables Temporary/Ephemeral pages for testing purposes.
Our home page is open for editing, like most of the website, so that visitors can try the software. For a few years, the recipe AutoRestore provided a way to revert any changes after 15 minutes of inactivity. With AutoRestore however, the homepage can actually be defaced or spammed for 15 minutes at a time.
This recipe SessionPageStore was written to allow visitors (or spammers) to test the wiki, even to modify the home page if they like, but the changes are only visible to them (including page history). Other visitors see the original page.
The recipe is currently enabled at PmWiki.PmWiki, feel free to abuse that page in any way you like. :-)
Currently nothing can be configured (this may change in the future).
When a visitor edits, saves, previews the page, the changes will be saved in an ephemeral session storage. For other users, the same page will not appear changed. When the visitor closes the browser (or logs out of the wiki), the session storage will disappear, and the page will revert to its original content (or will be deleted, if there wasn't such a page). You can test the feature with two browsers, or with a single browser in the two modes, "normal" and "private/incognito".
Known feature: e-mail notifications, if enabled, will be sent also for temporary changes on ephemeral pages.
Change log / Release notes