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
- Remember the file name to use, e.g., test-what-you-see.pdf
- Edit the page
Add a temporary link to the attachment, e.g., [[attachment:test-what-you-see.pdf]]
- Save the page
Click the gray link to upload the file, e.g., test-what-you-see.pdf
- Upload the file
OR
- Upload the file
Search and copy the link of the file, e.g., [[attachment:test-what-you-see.pdf]]
- Edit the page
- Add the link
- Save the page
Expected Approach
- Edit the page
Add a temporary link to the attachment, e.g., [[new-attachment]]
- Save the page
Click the gray link to upload the file, e.g., Upload_a_new_attachment
- Upload the file, e.g., test-what-you-see.pdf
(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.