[pmwiki-users] Save As Draft (was Re: Preventing vandalism)

Patrick R. Michaud pmichaud at pobox.com
Sat Jun 17 09:13:06 CDT 2006


On Fri, Jun 16, 2006 at 03:23:23PM -0400, Neil Herber wrote:
> At 2006-06-16  02:05 PM -0500, Patrick R. Michaud is rumored to have said:
> >But with those two thoughts in mind, I think that having $EnableDrafts
> >also switch the buttons to read "Save Draft" and "Publish" makes a
> >lot of sense.
> 
> "Save Draft" is the correct label to my mind.
> 
> I am not sure that I have any better suggestion, but "Publish" 
> conjures up all kinds of strange ideas.
> 
> I have the advantage (??) of not knowing how this is implemented from 
> an author's viewpoint. When I save a draft, does that mean it is 
> marked in some special way (big draft stamps in the background?) or 
> does it mean that no-one can see it yet? If the latter is true, how 
> the heck do I find it again to complete it?

Pico has already (accurately) described how the "Save Draft"
feature works, but to specifically answer these questions...

When an author does "Save Draft", the edits are saved under a
page that has "-Draft" appended to its page name.  Thus, the
original page is left unchanged, and visitors won't see it unless
they're explicitly looking for it.  (There's also a way to
require a read password for -Draft pages.)

Editing a page that has an unpublished draft available causes the 
-Draft copy to be loaded instead of the original.  So, one way to
"find" the draft is to simply edit the original page -- i.e.,
editing a page always returns the latest draft if any exists.

When the "Save" (proposed "Publish" or "Save Final") button is hit
on a -Draft page, it saves the changes to the non-Draft version of
the page and removes the -Draft copy.

Pm




More information about the pmwiki-users mailing list