[pmwiki-devel] Versioning and Tagging

Dominique Faure dominique.faure at gmail.com
Tue Oct 9 04:24:30 CDT 2007


On 10/8/07, Kathryn Andersen <kat_lists at katspace.homelinux.org> wrote:
> Would it be possible to add a tagging system to PmWiki, like one has
> with cvs and subversion?
>
> That is:
> 1) for a page, any version of that page can have a tag added to it (for
> example, FOO1)
> 2) when tag=FOO1 is present, then the current action will apply to that
> version of the page.  For example,
>         http://www.example.com/wiki/Main/Thing1?action=browse&tag=FOO1
> would show the version of the page with the FOO1 tag, and
>         http://www.example.com/wiki/Main/Thing1?action=print&tag=FOO1
> would would give the print skin showing the version of the page with the
> FOO1 tag, and
>         http://www.example.com/wiki/Main/Thing1?action=somenewaction&tag=FOO1
> would apply the new action "somenewaction" to the version of the page
> with the FOO1 tag.
> 3) Tags are unique to a page; if one adds FOO1 to another version of the
> page, then the old FOO1 tag will be taken off the original version of
> the page it was attached to (similar to the way tagging works in CVS).
> 4) One should be able to add tags to multiple pages at once, for the
> current version of the page.  Ideally, one should be able to select the
> pages it's added to, but even being able to add a tag to the "whole wiki
> as of right now" would be helpful, I think.
> 5) As with CVS, a given version of a page can have multiple tags on it,
> since one will probably want to be able to tag a group of pages with the
> same tag, and PageA may have changed, but PageB hasn't changed since the
> last tag, but one still wants that version of PageB to have the new tag.
>
> Is this possible?  How could it be done?
>

Following your tags description, I could easily see them implemented
as a set of page properties (fields stored within the wiki page file),
acting as aliases on some of the page history timestamps.

-- 
Dominique



More information about the pmwiki-devel mailing list