PmWiki.PageHistory 2.8 KB

12345678910
  1. version=pmwiki-2.1.11 ordered=1 urlencoded=1
  2. agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
  3. author=TeganDowling
  4. csum=not quite the same
  5. host=69.212.65.250
  6. name=PmWiki.PageHistory
  7. rev=19
  8. targets=PmWiki.WikiAdministrator,PmWiki.DocumentationIndex,PmWiki.PageFileFormat
  9. text=%25audience%25 authors (basic) %0aWhen PmWiki is called with '?action=diff', it displays a summary of past edits on a page. Each past edit is shown in a box which shows lines added, changed or deleted during that edit in a before & after format.%0a%0aBelow each box is a "Restore" link. Clicking the link will open an edit box with the page as it was ''before'' that edit. You can make changes or simply click Save to restore the text.%0a%0aThere are two additional options specific to Page''''History:%0a* '''Hide minor edits''' - hides any edit that the author marked as 'minor'.%0a* '''Show changes to markup'''- shows changes to the markup (as opposed to the normal display which shows changes to the output).%0a%0aA page's history is kept for the number of days given by the $DiffKeepDays variable (set by the site's [[wiki administrator]]). When a page is edited, any page history information older than this value is automatically discarded.%0a%0aNote that a specific page revision isn't removed from the page until the first edit ''after'' the time specified by $DiffKeepDays has elapsed. Thus, it's still possible for some pages to have revisions older than $DiffKeepDays -- such revisions will be removed the next time those pages are edited.%0a%0a%0a%25trail%25 %3c%3c|[[Documentation Index]]|>>%0a%0a%25audience%25 administrators (basic)%0a>>faq%3c%3c [[#faq]]%0a%0aQ: [[#removepagehistory]] Is there a way to remove page history from page files?%0aA: 1. Administrators can clean page histories using the Cookbook:ExpireDiff recipe. %0a%0aA: 2. Administrators with FTP file access can download individual pages from the wiki.d directory, open them in a text editor, manually remove history, and re-upload the files to wiki.d/ directory. Care must be exercised, when manually editing a page file, to preserve the minimum required elements of the page and avoid corrupting its contents. See [[PmWiki/PageFileFormat#creating]].%0a%0aA: 3. Edit the page. Select ''all'' the contents of the edit text area and cut them to the clipboard. Enter @@delete@@ into the text area and click on the ''save and edit'' button. Select ''all'' the contents of the edit text area and paste the contents of the clipboard over them. Click on the ''save'' button. This will remove all of the page's history up to the final save in which the pasted material is re-added.%0a%0aQ: [[#restrictpagehistory]] How can I restrict viewing the page history to people with edit permission?%0aA: In the ''local/config.php'' file, set%0a%0a->[@$HandleAuth['diff'] = 'edit'@];%0a
  10. time=1150661252