[pmwiki-users] How to view a page and its links as at a specified date and time

John Rankin john.rankin at affinity.co.nz
Sun Oct 16 20:04:23 CDT 2005


On Sunday, 16 October 2005 12:04 PM, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>On Fri, Oct 14, 2005 at 02:47:43PM +1300, John Rankin wrote:
>> PITS 00220 which requests this feature is 
>> currently suspended.
>> 
>> Any hints on how to extract the wiki text as at 
>> a point in time, so it can be displayed? One 
>> wants to write 
>> 
>> function PointInTime($pagename, $datetime) {
>>     ???
>>     return $page;
>> }
>> 
>> to return the page as it was at $datetime.
>
>Do you need the full page as it existed then (i.e., no history
>since $datetime), or just the page text at that point?
>
>Pm
>

Just the page text. I envisage 'Previous' and 'Next' links
that show the previous and next versions of the page,
letting a reader see how a page has evolved. In an ideal
world: pick any 2 versions and generate a page with the 
differences between them highlighted.
-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list