We use [[Draft]] and [[Obsolete]] macros to mark a page as a draft or obsolete page, but this is only a user-visible comment about the page.
As for your database question, it will save space to delete revisions, as each revision is a unique row. When I started trac I thought that it might use SVN to back its wiki or that it at least stored deltas, but it does neither. When you modify a page the entire page is copied into a new row. I've often wondered about this decision, but in your case what it does allow is it is very easy, very fast, and takes no effort on Trac's part for you to delete a revision and for Trac to "handle" that fact, because it just pulls out the record with the highest "revision" number. So your DB will be faster and smaller after deleting. Be careful with deletions, as deletions are not undoable and are not revisioned -- you will permanently lose data if you do the wrong thing. Therefore, you may want to limit who has permissions to delete pages. Jason Winnebeck -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron D. Marasco Sent: Friday, September 08, 2006 2:31 PM To: [email protected] Subject: [Trac] Silly question Hi all, Often I find myself saving my wiki changes with a description "work in progress." This is usually when I have a bunch of broken Image() macros because the edit page won't let me add attachments. That, and I'm afraid of losing my work. When I'm all done, I will often go back and use the Admin function 'Delete Revision' to wipe out the intermediate stages, because I think they're useless. Is this going to cause the database to thrash looking for missing revisions? Are the wiki pages stored as deltas like svn does? Or am I actually saving database space by removing these intermediate copies? - Aaron -- Sent using a web interface, so I am sending this instead of working. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users -~----------~----~----~----~------~----~------~--~---
