In a document management scenario for Dokuwiki it becomes necessary to use a lot of attached files (images, documents, etc.) when a complex layout is required (flowcharts, forms, brochures). It would be very useful to add some sort of metadata functionnality where keywords or an abstract could be linked to attachments, which then could be searched along with everything else.
An additional field in the file attachment dialog ("Comments") would do the trick. Additional fields ("Title", "Author", etc.) could be added later or left as an option. This could create a, say, myimage.txt in the media directory which would contain the metadata. This is discussed here: http://wiki.splitbrain.org/wiki:discussion:filemanagement?s=metadata