Is there a way to delete the dead attachments in the wiki?
i mean with dead attachments are e.g.
one user creates one page with attachments Xyz and he realizes that this attachment is not good. Now he/she upload same attachment for this page with different name Xab, without deleting old attachment. Actually user is using only one attachment Xab and the other Xyz is a dead attachment.
OR maybe user creates one attachment and upload it for the page. And he deletes only the link on the page. but attachment is still physically present with page.
Maybe there are lot of attachments are present on our file system, which nobody is using anymore and they are dead for ever.
Is there a way to see those attachments, which are not present or linked on the pages?
Thanks in advance,
Have a nice day,
Hotmail: Free, trusted and rich email service.
From: Thomas Waldmann <tw-public@gm...> - 2010-02-10 08:17:01
> Is there a way to delete the dead attachments in the wiki?
Well, strictly taken there are no dead attachments. Every attachment is
reachable by the AttachFile action (clicking on Attachments in the
Thus, you maybe shouldn't try to automatically kill everything that is
not referenced by some wiki page, it is not technically required that
there is a link from a page for every attachment (same for pages: they
also can exist an be used without being linked from anywhere).
That said, it could be a valid policy for a wiki, that non-linked
attachments are to be considered dead and to be removed. As there is no
revert for deleting an attachment, one needs to be careful, though.