Последние изменения - Поиск:

Новости
Хроника

2017-98-08-Deb:

2017-05-03-11-24-57:

2011-10-02:

2011-08-27:

2011-05-30:

2011-05-28:

2011-04-16:

2011-01-22:

2010-12-03-13-04-04:

2010-09-24:

2010-01-08:

2009-11-16:

2009-09-xx:

2008-01-25:

2007-09-28:

2007-04-21:

2007-04-13:

2006-12-01:

2006-09-22:

2006-09-06:

2006-04-20:

2006-03-XX:

2006-01-XX:

2006-01-28-04-57-02:

2005-09-23:

2005-08-12:

2005-01-24:

2004-09-24:

2004-05-13:

2003-12-08:

2003-04-04:

2002-02-22:

2002-01-25:

Архив


Старый сайт External Link to http://gaish78.narod.ru/
Хочу жить вечно External Link to http://virtualphotoalbum.tau-site.ru/2009_FFMeeting/index.htm

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 External Link to http://www.pmwiki.org: PmWiki:Drafts External Link to http://www.pmwiki.org/wiki/PmWiki/Drafts, and a talk page: PmWiki:Drafts-Talk External Link to http://www.pmwiki.org/wiki/PmWiki/Drafts-Talk.

Править - История - Печать - Последние изменения - Поиск
Редакция от 10.09.2011 20:08