version=pmwiki-2.0.beta55 ordered=1 urlencoded=1 agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 author=Pm host=24.1.26.255 name=PmWiki.EditVariables rev=25 targets=PmWiki.LinkVariables,PmWiki.Variables,PmWiki.UploadVariables text=%3c%3c|[[PmWiki.Variables]]|>>%0a%0a:$EnableGUIButtons:When set to '1', turns on the graphical buttons in the "Edit Page" form.%0a # turn on graphical edit buttons%0a $EnableGUIButtons = 1;%0a%0a:$EnablePostAuthorRequired:When set to '1', posting of pages requires the author to provide an author name. Otherwise, authors can post without a name.%0a # require authors to provide a name%0a $EnablePostAuthorRequired = 1; %0a%0a:$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).%0a # change delete word to "remove"%0a $DeleteKeyPattern = "^\\s*remove\\s*$";%0a # delete any page with no visible text, i.e., empty%0a $DeleteKeyPattern = "^\\s*$";%0a%0a:$EditTemplatesFmt:Name of the page (or an array of names) to be used as the default text for any newly created pages.%0a [=# Use 'Main.NewPageTemplate' as default text of all new pages%0a $EditTemplatesFmt = 'Main.NewPageTemplate';%0a # Use 'Template' in the current group for new pages%0a $EditTemplatesFmt = '$Group.Template';%0a # Use 'Template' in the current group if it exists, otherwise%0a # use 'Main.NewPageTemplate'%0a $EditTemplatesFmt = array('$Group.Template', 'Main.NewPageTemplate');=]%0a%0a:$DefaultPageTextFmt:The text that should be displayed when browsing non-existent pages.%0a $DefaultPageTextFmt = 'Page $Name does not exist';%0a%0a:$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:%0a [=$EditFunctions = array('EditTemplates', 'RestorePage', 'ReplaceOnSave', %0a 'SaveAttributes', 'PostPage', 'PostRecentChanges', 'PreviewPage'); =]%0a%0a:$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.%0a # Replace text on Save (add pattern and replacement to array $ROSPatterns)%0a $ROSPatterns["/\\[\\[test:([^\\s$UrlExcludeChars]*)/"] = "[[special:--\$1";%0a%0a:$IsPagePosted:%0a%0a:$PageEditFmt:%0a%0a:$HandleEditFmt:%0a time=1125523419