[pmwiki-users] Workflow?
Patrick R. Michaud
pmichaud at pobox.com
Mon Nov 28 12:50:36 CST 2005
Here then, is my proposal for a workflow recipe.
1. Each page has a released version and an optional pending
version indicated by "-Draft" in the page name.
2. When an author requests a page edit, the workflow recipe
intercepts the request and transforms it into a request to
edit the "-Draft" version of the page.
3. If the "-Draft" version doesn't exist, or if it exists with
a timestamp earlier than the released version of the page, then
the released version of the page is used as the source.
4. The "Save", "Preview", and "Save and edit" buttons work as
normal, except they're always working on just the "-Draft" page.
5. A new "Release" button is added; activating this button causes
the contents to be saved to the original (non "-Draft")
version of the page, and the draft version of the page is
removed.
6. The workflow recipe suppresses pages ending in "-Draft" from
pagelists and search results.
7. All other actions work as before, and consider "-Draft" to be
a separate page from the released version.
Pm
More information about the pmwiki-users
mailing list