<< LinkVariables | PmWiki.Variables | UploadVariables >>
$EnableGUIButtons # turn on graphical edit buttons
$EnableGUIButtons = 1;
$EnablePostAuthorRequired # require authors to provide a name
$EnablePostAuthorRequired = 1;
$DeleteKeyPattern # change delete word to "remove"
$DeleteKeyPattern = "^\\s*remove\\s*$";
# delete any page with no visible text, i.e., empty
$DeleteKeyPattern = "^\\s*$";
$DefaultPageTextFmt $DefaultPageTextFmt = 'Page $Name does not exist';
$EditFunctions $EditFunctions = array('RestorePage','ReplaceOnSave','SaveAttributes',
'PostPage','PostRecentChanges','PreviewPage');
$ROSPatterns[[test:sometext with [[special:--sometext when you save an edited page.
# Replace text on Save (add pattern and replacement to array$ROSPatterns)$ROSPatterns["/\\[\\[test:([^\\s$UrlExcludeChars]*)/"] = "[[special:--\$1";