blob: 637314292f662f9cd9c0b46a2fe698b06bd517bf [file] [log] [blame]
version=pmwiki-2.0.beta25
newline
text=<<|[[PmWiki.Variables]]|>>²²:$EnableGUIButtons:When set to '1', turns on the graphical buttons in the "Edit Page" form # turn on graphical edit buttons² $EnableGUIButtons = 1;²²:$EnablePostAuthorRequired:When set to '1', posting of pages requires the author to provide an author name (see AuthorTracking). Otherwise, authors can post without a name.² # require authors to provide a name² $EnablePostAuthorRequired = 1; ²²:$DeleteKeyPattern:The pattern used to determine if a page should be deleted. The default is to remove pages that contain only the single word "delete" (and optional spaces).² # change delete word to "remove"² $DeleteKeyPattern = "^\\s*remove\\s*$";² # delete any page with no visible text, i.e., empty² $DeleteKeyPattern = "^\\s*$";²²:$EditTemplatesFmt:Name of the page (or an array of names) to be used as the default text for any newly created pages.² [=# 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:The text that should be displayed when browsing non-existent pages.² $DefaultPageTextFmt = 'Page $Name does not exist';²²:$EditFunctions: This array contains the sequence of functions that are called when a page is edited. It can be customized to provide additional functions to be called as part of the editing process. The standard setting is:² [=$EditFunctions = array('EditTemplates', 'RestorePage', 'ReplaceOnSave', ² 'SaveAttributes', 'PostPage', 'PostRecentChanges', 'PreviewPage'); =]²²:$ROSPatterns: With this array you can give a pattern as key and a text which should replace it when saving an edited text. The following example replaces every occurence of @@[[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";²²:$IsPagePosted:²²:$PageEditFmt:²²:$PagePreviewFmt:²²:$HandleEditFmt:²
time=1110062899
name=PmWiki.EditVariables
host=24.1.28.47
agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1
rev=21
author=Pm
targets=PmWiki.LinkVariables,PmWiki.Variables,PmWiki.UploadVariables,PmWiki.AuthorTracking