Cleanup for img/wiki_up and Proposed Structure
First, a question (both questions assume you have turned "ON" the image uploads and attachments options for wiki pages)...
Is there any sort of cleanup script or methodology for dealing with orphaned files in img/wiki_up?
I know when you upload a file as part of writing a page (an attachment, if you will) it gets stored there as the filename you upload it as. I was wondering what happens when the page gets deleted? I suspect nothing.
Second question...
Without doing manual upkeep, there is a very real potential for filename conflicts in img/wiki_up. Has there been discussion about modifying the attachment scripts to create subdirectories based on the page ID under img/wiki/up ?
How I utilize Tiki is as a departmental CMS, which includes numerous process documents (MOPs) that describe standard ways to do tasks, and also include numerous screenshot examples. Given uncreative people, I can see multitudes of "screenshot1.jpg" conflicting with each other. Having a separate subdirectory for each page that contains an attachment would eliminate this, and still allow folks to use those images in other pages.
A more sophisticated clean-up tool would be required, but then I don't think we have one at all at the moment, that could look for files with deleted pages, and determine if any other pages reference them.
Any thoughts?
Mike.