PmWiki.EditVariables 3.0 KB

123456789
  1. version=pmwiki-1.0.1
  2. newline=²
  3. text=<<|{{Variables}}|>>²²The variables listed on this page affect editing and saving of text to pages.²²:$DefaultPageTextFmt:The text that should be displayed when editing or browsing non-existent pages. May also appear in other contexts, such as when a non-existent page is included via @@[=[[include:PageName]]=]@@.² $DefaultPageTextFmt = 'Page $Tlink does not exist';²²:$DiffKeepDays:The minimum number of days to keep a page's revision history. Defaults to 3650 (a little less than ten years).²²:$DiffAccessLevel:The default access level required to access a page's history. Defaults to 'read', but can be changed to 'edit' to allow only editors to view page history.² $DiffAccessLevel = 'read'; # default² $DiffAccessLevel = 'edit'; # require edit password²²:$DeleteKeyWord:The string that indicates a page should be deleted. Defaults to 'delete'.²²:$SysDiffCmd:The path to an external program that performs the equivalent of GNU's ''diff(1)'' program for maintaining PageHistory. Defaults to @@/usr/bin/diff@@, but may need to be changed on systems where ''diff(1)'' is in a different location (e.g., when running on [[WinDiff Windows servers]]) or is encumbered by PHPSafeMode. Setting this to an empty string disables PageHistory.² $SysDiffCmd='/usr/bin/diff'; # default² $SysDiffCmd=''; # disable page history² # The following is used by WinDiff² $SysDiffCmd='windiff\\diff';² # Sometimes a workaround for PHPSafeMode² $SysDiffCmd='./diff';²²:$SysPatchCmd:The path to an external program that performs the equivalent of GNU's ''patch(1)'' program for merging ''diff's''. Defaults to @@"/usr/bin/patch --silent"@@, but may need to be changed on systems where ''patch(1)'' is somewhere else. Setting this to an empty string disables the "Restore" feature of PageHistory.² $SysPatchCmd = ''; # disable restore² # The following is used by WinDiff² $SysPatchCmd='windiff\\patch --silent';²²:$DiffFunction:²:$PatchFunction:²: :The names of the PHP functions to be called to generate/restore page history information. Defaults to PmWiki's internal "Diff" and "Patch" functions, but these can be changed to allow a user to create customized diff/patch capabilities. This is used by the Cookbook.PHPDiffEngine.²²:$RecentChanges:An array containing the page names and text format lines to be used to save RecentChanges information.²²:$EnablePostAuthorRequired:If set to a non-zero value, then authors are required to provide a name in the "Author" field of the edit form before changes may be saved to a page.²²:$AuthorRequiredFmt:The message displayed above the edit form when $EnablePostAuthorRequired is set and an author has failed to provide a name in the "Author" field.²²²
  4. time=1087836658
  5. author=Pm
  6. name=PmWiki.EditVariables
  7. host=24.1.52.58
  8. agent=Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
  9. rev=12