Recent Changes - Search:

Haywire's Hobbies

PmWiki

pmwiki.org

edit SideBar

PageHistory

authors (basic) When 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.

Below 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.

There are two additional options specific to PageHistory:

  • Hide minor edits - hides any edit that the author marked as 'minor'.
  • Show changes to markup- shows changes to the markup (as opposed to the normal display which shows changes to the output).

A 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.

Note 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.

<< WikiTrails | Documentation Index | Passwords >>

administrators (basic)

Is there a way to remove page history from page files?

Administrators can clean page histories using the Cookbook:ExpireDiff recipe.

How can I restrict viewing the page history to people with edit permission?

In the local/config.php file, set

$HandleAuth['diff'] = 'edit';

Edit - History - Print - Recent Changes - Search
Page last modified on March 24, 2006, at 12:46 PM EST