Changes for page Attachments

Last modified by Thomas Mortagne on 2023/10/10

<
From version < 27.2 >
edited by Vincent Massol
on 2017/09/06
To version < 28.1 >
edited by Vincent Massol
on 2017/09/06
>
Change comment: Renamed back-links.

Summary

Details

Page properties
Content
... ... @@ -22,7 +22,7 @@
22 22  = Versions =
23 23  
24 24  When a user uploads an attachment and 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.
25 -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:
25 +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>>Documentation.AdminGuide.Configuration#HSamplexwiki.cfg]] and adding:
26 26  
27 27  {{code language="none"}}
28 28  xwiki.store.attachment.versioning=0
... ... @@ -30,7 +30,7 @@
30 30  
31 31  = Deletion =
32 32  
33 -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>>platform:AdminGuide.Configuration#HSamplexwiki.cfg]] and add:
33 +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>>Documentation.AdminGuide.Configuration#HSamplexwiki.cfg]] and add:
34 34  
35 35  {{code language="none"}}
36 36  storage.attachment.recyclebin=0
... ... @@ -49,7 +49,7 @@
49 49  This attachment storage mechanism stores your attachments in database entries in the [[xwikiattachment_content>>platform:DevGuide.DsXWikiAttachmentContent]], [[xwikiattachment_archive>>platform:DevGuide.XWikiAttachmentArchive]] and [[xwikiattrecyclebin>>platform:DevGuide.DsXwikiRecycleBin]] tables. This system allows for easy backup of your attachments by dumping the database and keeping all of your data together, but attachment size is memory constrained since the attachment content and archive must all be held in memory. As a general rule, attachments larger than 30MB are not possible.
50 50  
51 51  {{info}}
52 -When using this attachment store with a MySQL database, you must set the ##max_allowed_packet## to about 3 times the size of your largest attachment since the attachment and its version history must be saved. See the [[MySQL Installation guide>>platform:AdminGuide.InstallationMySQL]] for more information.
52 +When using this attachment store with a MySQL database, you must set the ##max_allowed_packet## to about 3 times the size of your largest attachment since the attachment and its version history must be saved. See the [[MySQL Installation guide>>Documentation.AdminGuide.InstallationMySQL]] for more information.
53 53  {{/info}}
54 54  
55 55  == Filesystem Attachment Store ==
... ... @@ -65,7 +65,7 @@
65 65  
66 66  ==== New users ====
67 67  
68 -If you are a new XWiki user, all you need to do for enabling Filesystem Attachment Store is to change some settings in the [[xwiki.cfg>>platform:AdminGuide.Configuration#HSamplexwiki.cfg]] file.
68 +If you are a new XWiki user, all you need to do for enabling Filesystem Attachment Store is to change some settings in the [[xwiki.cfg>>Documentation.AdminGuide.Configuration#HSamplexwiki.cfg]] file.
69 69  
70 70  These settings should read as follows:
71 71  
... ... @@ -108,7 +108,7 @@
108 108  
109 109  === Other considerations ===
110 110  
111 -If you are running a [[cluster>>platform:AdminGuide.Clustering]] you will need to have a synchronized storage directory for each node. You can use NFS or other means to mount the disk on each node in the cluster.
111 +If you are running a [[cluster>>Documentation.AdminGuide.Clustering.WebHome]] you will need to have a synchronized storage directory for each node. You can use NFS or other means to mount the disk on each node in the cluster.
112 112  
113 113  ==== Directory cleanup ====
114 114  

Get Connected