[pmwiki-devel] Improvements to page history management

Simon nzskiwi at gmail.com
Tue Mar 31 23:44:58 CDT 2009


I think that this is a great offer, and we should, with alacrity, accept
Daniel's offer.An example of version comparison to look at for ideas is
WikiMedia
Simon

2009/3/17 Daniel Roesler <diafygi at gmail.com>

> On Mon, Mar 16, 2009 at 8:46 AM, michael paulukonis
> <xraysmalevich at gmail.com> wrote:
> > I'd vote no on auto-reverting included pages.
> >
> > What about pages that are included by more than one other page? Eg,
> > pages A and B include C. A is reverted to January 2008. B is not
> > reverted.
> >
>
> I don't think this would be a problem. Viewing a previous version of a
> page is not the same as reverting it, since you're not actually
> changing the page, just previewing it at a previous time. If you were
> reverting the page to that version, you would be reverting the
> (:include:) markup, not page C itself.
>
> Avast!
> Daniel Roesler
> diafygi at gmail.com
>
> >
> > However, this could be a selection -- like in the Rename recipe, that
> > offers to update relative links, but only if the user checks a box.
> > and even there, I'd prefer it on an item-by-item basis -- 5 includes,
> > it shouldn't be all or none, it should be one-by-one....
> >
> > -the Other michael
> > http://www.xradiograph.com
> >
> > Sent from John's Wireless BlackBerry StringCan iPhone
> >
> >
> >
> > On Mon, Mar 2, 2009 at 1:58 AM, Daniel Roesler <diafygi at gmail.com>
> wrote:
> >> Howdy all,
> >>
> >> Now that 2.2.0 is released, I'd like to propose some new features for
> >> the next version. Specifically, adding some proposed features for page
> >> history management.
> >>
> >> View a specific revision of a page (
> http://www.pmwiki.org/wiki/PITS/00141 )
> >> -I think there was discussion on this, but it couldn't be decided
> >> whether to revert included pages back to that revision time as well. I
> >> vote for yes, even though it would be more work for me.
> >>
> >> Diff comparison of two arbitrarily selected versions (
> >> http://www.pmwiki.org/wiki/PITS/00642 )
> >> -Don't know how people would like to implement this.
> >>
> >> Create links to individual changes on history page (
> >> http://www.pmwiki.org/wiki/PITS/00796 )
> >> -This can be done easily by changing $DiffStartFmt in pagerev.php to
> >> include $FmtV['$DiffId']. For example, you could change lines 26-28 in
> >> pagerev.php from:
> >> -------------
> >> SDV($DiffStartFmt,"
> >>      <div class='diffbox'><div class='difftime'>\$DiffTime
> >>        \$[by] <span class='diffauthor'
> >> title='\$DiffHost'>\$DiffAuthor</span> - \$DiffChangeSum</div>");
> >> -------------
> >> to:
> >> -------------
> >> SDV($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>");
> >> -------------
> >>
> >> RSS feeds for page histories ( http://pmwiki.org/wiki/PITS/01079 )
> >> -PageFeed already exists as a recipe, but I need to rewrite it and
> >> integrate it into feeds.php.
> >>
> >> I volunteer to work on adding these features, but I'd like to discuss
> >> their implementation before I start coding.
> >>
> >> Avast!
> >> Daniel Roesler
> >> diafygi at gmail.com
> >>
> >> _______________________________________________
> >> pmwiki-devel mailing list
> >> pmwiki-devel at pmichaud.com
> >> http://www.pmichaud.com/mailman/listinfo/pmwiki-devel
> >>
> >
> > _______________________________________________
> > pmwiki-devel mailing list
> > pmwiki-devel at pmichaud.com
> > http://www.pmichaud.com/mailman/listinfo/pmwiki-devel
> >
>
> _______________________________________________
> pmwiki-devel mailing list
> pmwiki-devel at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-devel
>



-- 
____
http://kiwiwiki.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-devel/attachments/20090401/b5d12615/attachment.html 


More information about the pmwiki-devel mailing list