PmWikiZhCn / Drafts

PmWiki"""-Draft" $DraftSuffix "-Draft"

 $EnableDrafts "Save"""""

"""-Draft"-Draft

""-Draft

"edit"Passwords? $EnablePublishAttr "publish"

"" $EnableDraftAtomicDiff

""""Site.AllRecentChangesGroup.RecentChanges"""-Draft"

Site.AllRecentChangesGroup.RecentChanges

$DraftRecentChangesFmt = array();
if ( @$EnableDrafts && @$_POST['postedit']>'' || @$_POST['postdraft']>'' )
  unset($RecentChangesFmt);
if ( @$EnableDrafts && @$_POST['postedit']>'' || @$_POST['postdraft']>'' ) {
  unset($RecentChangesFmt['$Group.RecentChanges']); # -and/or-
  unset($RecentChangesFmt['$SiteGroup.AllRecentChanges']);
}
 $DraftRecentChangesFmt  $RecentChangesFmt Site.DraftRecentChangesconfig.php
$DraftRecentChangesFmt['Site.DraftRecentChanges'] 
  = '* [[{$Group}.{$Name}]]  . . . $CurrentTime $[by] $AuthorLink: [=$ChangeSummary=]';
 $RecentChangesFmt  $DraftRecentChangesFmt 

RSS

RSS"-Draft"RSSlist=all

"""""" $EnablePublishAttr "publish"