THIS IS HISTORY! Check fabien.benetou.fr for news.
Seedea, scalable creativity
Xye, consultancy for serious creators
Information
(Updates)
<< Debug Variables | PmWiki.Variables | I18n Variables >>
$EnableGUIButtons
# turn on graphical edit buttons
$EnableGUIButtons
= 1;
$EnablePostAuthorRequired
# require authors to provide a name
$EnablePostAuthorRequired
= 1;
$EnableDrafts
# turn on draft edits
$EnableDrafts
= 1;
$DraftSuffix
$DiffKeepDays
$DiffKeepDays
variable sets the minimum length of time that a page's revision history is kept. By default it is set to 3650 days, or a little less than ten years. You can change this value in a customization file to be something smaller, e.g.:
$DiffKeepDays
= 30; # keep revisions at least 30 days
$DiffKeepDays
has elapsed. Thus, it's still possible for some pages to have revisions older than $DiffKeepDays
-- such revisions will be removed the next time those pages are edited.
$DeleteKeyPattern
# change delete word to "remove"$DeleteKeyPattern
= "^\\s*remove\\s*$"; # delete any page with no visible text, i.e., empty$DeleteKeyPattern
= "^\\s*$";
$EditTemplatesFmt
# Use 'Main.NewPageTemplate' as default text of all new pages $EditTemplatesFmt = 'Main.NewPageTemplate'; # Use 'Template' in the current group for new pages $EditTemplatesFmt = '$Group.Template'; # Use 'Template' in the current group if it exists, otherwise # use 'Main.NewPageTemplate' $EditTemplatesFmt = array('$Group.Template', 'Main.NewPageTemplate');
$DefaultPageTextFmt
$DefaultPageTextFmt = '(:include $[{$SiteGroup}.PageNotFound]:)';
$EditFunctions
$EditFunctions = array('EditTemplate', 'RestorePage', 'ReplaceOnSave', 'SaveAttributes', 'PostPage', 'PostRecentChanges', 'PreviewPage');
$ROSPatterns
$IsPagePosted
$PageEditFmt
$PageEditForm
$SiteGroup
.EditForm'.
$HandleEditFmt
$EditRedirectFmt
# redirect to Main.HomePage $EditRedirectFmt = 'Main.HomePage'; # redirect to HomePage of current group $EditRedirectFmt = '{$Group}.HomePage';
< Debug Variables | Variables | I18n Variables >
This page may have a more recent version on pmwiki.org: PmWiki:EditVariables, and a talk page: PmWiki:EditVariables-Talk.