Janne Jalkanen wrote:
[...]
This is what TWiki does. It has a couple of problems:
1) It needs specific handling with respect to moving and renaming - the
system needs to know that Trash is a special WikiSpace.
Yes, certainly. And there would be restrictions on the kinds of access
that both users (admins) and code would have on the trash. A Trash API.
2) If two persons from different WikiSpaces move a similarly named page
to the Trash, then there's a problem. Or, the trash is not emptied, and
someone recreates the page and moves it again to the trash. It
becomes... problematic. Though, actually there is also a problem if a
page is marked deleted, but it gets recreated - is the old one brought
back or what?
The document is assigned a new system identifier when in the trash, with
its original stored as metadata (e.g., "DC.source").
If the document is reinstated from the trash, its original system
identifier is used to relocate it (with of course the possibility that
a new page with the same address now exists, and the requisite handling
of that situation).
Murray
...........................................................................
Murray Altheim <murray07 at altheim.com> === = =
http://www.altheim.com/murray/ = = ===
SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk = = = =
Boundless wind and moon - the eye within eyes,
Inexhaustible heaven and earth - the light beyond light,
The willow dark, the flower bright - ten thousand houses,
Knock at any door - there's one who will respond.
-- The Blue Cliff Record