[pmwiki-users] Archiving old/obsolete pages

H. Fox haganfox at users.sourceforge.net
Thu Aug 31 17:37:50 CDT 2006

On 8/30/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > I'd vote for an archive-attribute of some kind. That way you could also
> > have a note on the page that "this page is archived" or something.
> At some level I almost want it to be just a keyword on the page,
> such as (:archived:), and we ignore pages with that keyword on it.

Agreed, except that doesn't fit the original reason (mine, anyway) for
archiving pages in their own group: refactoring a page.  The point of
?action=archive is to keep the page intact (history and all) but set
it aside.  Replacing a page becomes safe and easy.

1) Prototype a page.
2) Archive the old page.
3) Deploy the new page.

There will be a "transition period" where the new page is better, but
the old page isn't 100% ready to be thrown away.

> Another approach might be to have an archive.d/ directory (analogous
> to wiki.d/ and wikilib.d/ ) where page files get moved when they're
> archived.  Then we simply let pagelist and search skip over archive.d/
> when looking up pages.  Everything else then works the same.

This is a fantastic idea.


More information about the pmwiki-users mailing list