Changes for page Attachments

Last modified by Thomas Mortagne on 2023/10/10

<
From version < 2.1 >
edited by Caleb James DeLisle
on 2011/04/18
To version < 3.1 >
edited by Caleb James DeLisle
on 2011/04/18
>
Change comment: added sections on versioning and deletion.

Summary

Details

Page properties
Content
... ... @@ -9,6 +9,19 @@
9 9  3. Scroll down to the field that says ##Maximum Upload Size## and change the number to whatever size you want (it is expressed in bytes)
10 10  4. Scroll to the bottom and click save.
11 11  
12 += Versions =
13 +When a user uploads an attachment then uploads another attachment with the exact same name, you can decide whether or not to keep a version history of the attachments like you do with documents.
14 +XWiki stores all document attachment versions by default which costs more storage space. If you need only latest versions of attachments, you can disable attachment version control by editing your [[xwiki.cfg>>platform:AdminGuide.Configuration#HSamplexwiki.cfg]] and adding:
15 +
16 +{{code language="none"}}xwiki.store.attachment.versioning=0{{/code}}
17 +
18 += Deletion =
19 +Deleted attachments are stored in a recycle bin so that they can be restored along with the document when rolling back or previewing an earlier version where the attachment should be visible. To disable this feature, edit xwiki.cfg and add:
20 +
21 +{{code language="none"}}storage.attachment.recyclebin=0{{/code}}
22 +
23 +You can view the list of deleted attachments in your wiki and delete them permanently by going to [[XWiki.DeletedAttachments>>playground:XWiki.DeletedAttachments]] in your wiki.
24 +
12 12  = Attachment Storage =
13 13  XWiki offers plugin attachment storage mechanisms so you can store your attachments in the database or directly in the filesystem.
14 14  

Get Connected