On Fri, Apr 10, 2009 at 11:44 AM, Peter Bowers <[email protected]> wrote: > I've been working on a recipe to list page revisions and as I was > doing that came across a way to display the older versions, but I > don't want to spend a lot of time on it if you're already working on > it...
Yes, I have a recipe almost ready for displaying previous revisions. I have been working on some patches on the developers list. http://news.gmane.org/find-root.php?message_id=%3cb11bec220903012158v2e612d36uf55eaceec6cdd132%40mail.gmail.com%3e Basically, I am adding an action that renders a page with the markup at the time specified. For example, http://pm.com/wiki/Main/Home?action=diffview&time=1234567890 will generate a rendering at that time. This action only changes the markup to that particular page (i.e. included pages are not also reverted to their time; this could be a feature added in a subsequent verison). I have NOT started on a comparison section for the history preview, but I suspect it would look something like http://pm.com/wiki/Main/Home?action=diffview&time=1234567890:2234567890, where a colon separates the two timestamps to be compared. I suspect the first version of this would be a simple line comparison/highlight, but later versions could be a word-by-word comarison. I'm still unclear on how this could be integrated into the existing history page (comparison radio buttons, etc.), but the action needs to be developed first. I will post the first version early next week (possibly with a comparison option). Avast! Daniel Roesler [email protected] On Fri, Apr 10, 2009 at 11:44 AM, Peter Bowers <[email protected]> wrote: > Are you still working on this, Daniel? > > I've been working on a recipe to list page revisions and as I was > doing that came across a way to display the older versions, but I > don't want to spend a lot of time on it if you're already working on > it... > > -Peter > > On Tue, Mar 10, 2009 at 8:02 PM, Daniel Roesler <[email protected]> wrote: >> On Tue, Mar 10, 2009 at 12:00 PM, <[email protected]> wrote: >>> Date: Tue, 10 Mar 2009 13:57:05 +0100 >>> From: noskule <[email protected]> >>> Subject: [pmwiki-users] display older page versions >>> To: PmWiki Users <[email protected]> >>> Message-ID: <[email protected]> >>> Content-Type: text/plain; charset=ISO-8859-15; format=flowed >>> >>> hi list >>> I have two questions about page history: >>> >>> * Is it somehow possible to display an older version of a wikipage with >>> the normal html mode rather than in diff mode? >>> * Does someone know of a way to highlight the last changes of a page by >>> browsing the page rather than in diff mode? >>> >>> Thanks for any hints >>> nos >> >> This topic has come up several times before: >> http://article.gmane.org/gmane.comp.web.wiki.pmwiki.user/28573 >> http://article.gmane.org/gmane.comp.web.wiki.pmwiki.user/34775 >> >> And, unfortunately, that feature is not yet possible. I have >> volunteered to write a patch for the next version. However, I don't >> think it was ever decided if referenced pages ( (:include:), >> (:pagelist:), etc.) would display the results from the previous time >> as well. It has a PITS report: >> http://www.pmwiki.org/wiki/PITS/00141 >> >> Here's my post about adding features to the history page: >> http://pmichaud.com/pipermail/pmwiki-devel/2009-March/001535.html >> >> Avast! >> Daniel Roesler >> [email protected] >> >> _______________________________________________ >> pmwiki-users mailing list >> [email protected] >> http://www.pmichaud.com/mailman/listinfo/pmwiki-users >> > _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
