<< Variables de liens | Variables | Variables pour le téléchargement >>
$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
= 'La page $Name n'existe pas';
$DeleteKeyPattern
# changer le mot delete en "effacer"$DeleteKeyPattern
= "^\\s*effacer\\s*$"; # effacer toute page sans texte visible, c.a.d. vide$DeleteKeyPattern
= "^\\s*$";
$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.
$DraftSuffix
$EditFunctions
$EditFunctions
= array('RestorePage','ReplaceOnSave','SaveAttributes',
'PostPage','PostRecentChanges','PreviewPage');
$EditRedirectFmt
# redirection vers Main.HomePage $EditRedirectFmt = 'Main.HomePage'; # redirection vers la page d'accueil du groupe en cours $EditRedirectFmt = '{$Group}.HomePage';
$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');
$EnableDrafts
$EnableDrafts
= 1;
$EnablePublishAttr
, adds a new "publish" authorization level to distinguish editing of drafts from publishing them.
$EnableGUIButtons
# active les boutons d'édition
$EnableGUIButtons
= 1;
$EnablePostAuthorRequired
# oblige les auteurs à fournir un nom
$EnablePostAuthorRequired
= 1;
$HandleEditFmt
$IsPagePosted
$PageEditFmt
$PageEditForm
$SiteGroup
.EditForm'.
$ROSPatterns
[[test:sometext
avec [[special:--sometext
quand vous enregistrez une page éditée.
# Remplace texte à la sauvegarde (ajoute un bloc et son remplacement au tableau$ROSPatterns
)$ROSPatterns
["/\\[\\[test:([^\\s$UrlExcludeChars]*)/"] = "[[special:--\$1";
Traduction de PmWiki.EditVariables
Page originale sur PmWikiFr.EditVariables - Backlinks
Dernières modifications:
PmWikiFr.EditVariables: March 04, 2012, at 09:47 PM
PmWiki.EditVariables: August 30, 2019, at 07:06 AM