@import url(http://www.hongseok.com/pub/skins/sinorca/basic.css); @import url(http://www.hongseok.com/pub/skins/sinorca/layout.css); @import url(http://www.hongseok.com/pub/skins/sinorca/sinorca.css);
< Debug Variables | Variables | I18n Variables >
To set many of the variables below specify them in config.php
.
$EnableGUIButtons
$EnableGUIButtons
= 1;
$EnablePostAuthorRequired
$EnableDrafts
$EnableDrafts
= 1;
$EnablePublishAttr
, adds a new "publish" authorization level to distinguish editing of drafts from publishing them.
$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.
$DiffKeepNum
$DiffKeepDays
. It prevents lost history of pages that are older, but have few changes.
$DiffKeepNum
= 50; # keep at least 50 revisions (default is 20)
$DeleteKeyPattern
$DeleteKeyPattern
= "^\\s*remove\\s*$";
$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');
$AutoCreate
$AutoCreate[REGEXP] = PAGE_PARAMETERS;
REGEXP
is a regular expression which will identify the pages to be autocreated, and PAGE_PARAMETERS
is an array of attributes for the page to be created. For example,
$AutoCreate['/^Category\\./'] = array('ctime' => $Now);
$DefaultPageTextFmt
$DefaultPageTextFmt = '(:include $[{$SiteGroup}.PageNotFound]:)';
$EditFunctions
$EditFunctions = array('EditTemplate', 'RestorePage', 'ReplaceOnSave', 'SaveAttributes', 'PostPage', 'PostRecentChanges', 'AutoCreateTargets', 'PreviewPage');
$ROEPatterns
$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.
Powered by PmWiki
Skin by CarlosAB
looks borrowed from http://haran.freeshell.org/oswd/sinorca
More skins here