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