'''Short description''' At usual, we firstly add a new page with some links to some attachments which need to be uploaded. But we don't care so much what the filenames are. It could be very convenient if an attachment link is automatically inserted to the page text after uploading an attachment. It's very bugging to insert a link to the attachment after upload or to remember a filename to use at editing the page text. '''Current Approach''' 1. Remember the file name to use, e.g., test-what-you-see.pdf 1. Edit the page 1. Add a temporary link to the attachment, e.g., {{{[[attachment:test-what-you-see.pdf]]}}} 1. Save the page 1. Click the gray link to upload the file, e.g., [[attachment:test-what-you-see.pdf]] 1. Upload the file OR 1. Upload the file 1. ''Search'' and copy the link of the file, e.g., {{{[[attachment:test-what-you-see.pdf]]}}} 1. Edit the page 1. Add the link 1. Save the page '''Expected Approach''' 1. Edit the page 1. Add a temporary link to the attachment, e.g., {{{[[new-attachment]]}}} 1. Save the page 1. Click the gray link to upload the file, e.g., [[attachment:Upload_a_new_attachment]] 1. Upload the file, e.g., test-what-you-see.pdf 1. (After upload, the {{{[[new-attachment]]}}} markup ''automatically'' changes to {{{[[attachment:test-what-you-see.pdf]]}}} which links to the original filename) In this approach, we don't have to deal with the filenames. ---- CategoryFeatureRequest