Attachments in MoinMoin 1.6

Alternate Attachment Syntax in MoinMoin 1.6

As of MoinMoin wiki version 1.6 (or so) attaching files to a page has changed the action that previous versions performed. When a file is attached with the format {{attachment:foo.pdf}} the file is not available for direct download. Instead, the user is sent to an intermediate page where he/she can manage the attachments, including downloading it. Sometimes I prefer the old behavior, most notably when I want to make it easier for the reader.


The format to use is:


[[attachment:foo.pdf|description|&do=get]]


where foo.pdf is the file you want to upload and description is a short name for the file.


Thanks to Tre56k in the MoinMoin IRC channel for this tip.

Comments

Anonymous said…
This comment has been removed by a blog administrator.
Anonymous said…
Good fill someone in on and this enter helped me alot in my college assignement. Thank you seeking your information.
Anonymous said…
This comment has been removed by a blog administrator.
Anonymous said…
This comment has been removed by a blog administrator.
Anonymous said…
This comment has been removed by a blog administrator.
Anonymous said…
Good fill someone in on and this mail helped me alot in my college assignement. Thanks you as your information.
Anonymous said…
This comment has been removed by a blog administrator.

Popular posts from this blog

Dealing with Nested Documents in MongoDB and Talend (aka Baking a Cake)

Add sbin to user PATH in Debian

Batch convert Asterisk GSM WAV files to mp3