<< LinkVariables | PmWiki.Variables | UploadVariables >>
$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";
With this variable set to "1" posting an edit of a page is only possible when an author is given. Default setting is "0".