Issue description
Trying to upload a new version of whatever file on (whatever?) MediaWiki you reach a rude Special:Upload page with a multi-line field called "File changes:".
The issue is that, after pressing "Save", your message is collapsed as a single-line, worsening the readability of the user's message and potentially changing its meaning.
The field "File changes:" is highlighted in the above screenshot (with some green peppers).
You can see it online here: https://commons.wikimedia.org/w/index.php?title=Special:Upload&wpDestFile=Asd.gif&wpForReUpload=1
That URL can be reached from the "Upload a new version of this file" link from whatever page in the File: namespace.
For example if an user inputs this multi-line text:
added a pack of cigarettes to promote freedom added a sticker
Actually the user saves this single-line edit summary:
added a pack of cigarettes to promote freedom added a sticker
This seems an old UX-Debt affecting whatever MediaWiki file page.
Proposed solution
The proposed solution is to update the Special:Upload page to do not generate anymore this HTML tag when we are in wpForReUpload=1 (re-upload) mode:
<textarea id="wpUploadDescription" cols="80" rows="8" name="wpUploadDescription"></textarea>
But generate something like this instead:
<input type="text" id="wpUploadDescription" name="wpUploadDescription"></textarea>
In this way the user will not be tempted to enter multiple lines, while we do not support newlines in an edit summary.
AFAIK this may be achieved just updating this highlighted block of source code:
Well. It seems a cute good first task.
Happy hacking!