Recent Changes - Search:

PITS main list

edit sidebar

Main sidebar



Summary: create links to individual changes on history page
Created: 2006-08-30 05:42
Status: Closed - added for 2.2.11
Category: Feature
Priority: 5443
Version: any
OS: any

Description: The following patch adds links and anchors to the individual entries on the history page, allowing to link directly to a particular change:

Relevant mailing list discussion:

You can add anchors to each entry of the history page by changing $DiffStartFmt. This creates the ability to link to a specific revision in a page's history. To implement this, add the following line to your config.php file:

   $DiffStartFmt = "<div class='diffbox'><div class='difftime'><a name='\$DiffId'
   href='{\$PageUrl}?action=diff#\$DiffId'>\$DiffTime</a>\$[by] <span class='diffauthor'
   title='\$DiffHost'>\$DiffAuthor</span> - \$DiffChangeSum</div>";

I think this change should be made permanent in the core (from the mailing list). -Diafygi (2009-07-09)

Edit - History - Print - Recent Changes - Search
Page last modified on September 10, 2011, at 11:56 AM