Active Image

Daily Inspirational Quote:

"Time and health are two precious assets that we don't recognize and appreciate until they have been depleted."

Denis Waitley

Active Image
261 Oakwood Ave.
York, Ontario
M6E 2V3
Tel: (647)883-5436
cathy [snail] activeimage [period] ca -> mailto:cathy [snail] activeimage [period] ca

Printer-Friendly Version 

:: Home :: Pm Wiki? :: Drafts



PmWiki has the capability to stage draft versions of a page prior to them becoming "official". All of the draft pages end in "-Draft" by default (this can be changed by setting $DraftSuffix). Multiple interim edits to a page can be temporarily saved in a "-Draft" copy of a page until the draft is ready to be published to the original.

When the site administrator sets $EnableDrafts in a local customization file, the "Save" button on the edit page is split into separate "Publish" and "Save draft" buttons.

The "Save draft" button causes any edits to be saved to a "-Draft" copy of the original page, leaving the original page intact. Subsequent requests to edit the page (either the original or -Draft) bring up the draft copy for further editing.

The "Publish" button saves back to the original non-Draft copy of the page, removing any -Draft page that may have been created.

By default, saving drafts and publishing are available to anyone with 'edit' permissions (see Passwords). However, the site administrator can also set the $EnablePublishAttr configuration variable, which provides a separate 'publish' permission that is required to publish to the original page.

Drafts and pagelists (and RSS)

The drafts module also sets pagelists (and thus RSS feeds) to ignore "-Draft" pages by default; one has to do list=all or similar in order to have draft pages included in a pagelist or RSS feed.

How do I moderate all postings?

Start by enabling drafts to change the "Save" button into separate "Publish" and "Save draft" buttons. Then set $EnablePublishAttr. This adds a "publish" authorization level to distinguish editing of page drafts from publishing.



This page may have a more recent version on pmwiki.org: PmWiki:Drafts, and a talk page: PmWiki:Drafts-Talk.


Privacy Policy

|

© 2006 - 2026 by Active Image - All Rights Reserved

| Site Map | RSS Web Feed |

The information contained within ActiveImage.ca is for educational purposes. It is here to help you made informed decisions about your fitness and health. It is not medical advice and is not intended to replace the advice or attention of health-care professionals. Please consult your doctor before beginning or making changes to your diet, exercise program, for diagnosis and treatment of illness and injuries, and for advice regarding medications and supplements.

In no way will Active Image or any persons associated with Active Image be held responsible for any injuries or problems that may occur due to the use of this website or the advice contained within. Active Image will not be held responsible for the conduct of any companies and websites recommended within this site.

Internet Advisor - Web design and content management systems - London / St. Thomas, Ontario
CLick to Log In