[pmwiki-devel] Improvements to page history management
michael paulukonis
xraysmalevich at gmail.com
Mon Mar 16 08:46:24 CDT 2009
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.
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
>
More information about the pmwiki-devel
mailing list