Very minor Technical-Debt issue in /languages/messages/MessagesEn.php
What’s the problem?:
In MessagesEn.php, there are two separate alias entries that resolve to the same special page and behave identically:
Line 429:
'AllMyUploads' => [ 'AllMyUploads', 'AllMyFiles' ]
Line 504:
'Myuploads' => [ 'MyUploads', 'MyFiles' ],
All redirect to Special:ListFiles/[$username].
What can be done about it?:
The two entries can be consolidated into a single line by:
- Deleting line 429 ('AllMyUploads' => [ 'AllMyUploads', 'AllMyFiles' ]), and
- Adding its aliases to line 504, so that line (now line 503) becomes:
'Myuploads' => [ 'MyUploads', 'MyFiles', 'AllMyUploads', 'AllMyFiles' ],
This keeps the same behaviour but reduces duplication. I think it's better to keep line 504 because then it's listed as part of the block of other special pages beginning My..., i.e. MyLanguage, MyLog, MyPage and MyTalk.
Good first task:
This is a good candidate for a good first task, because it only involves:
- Removing one line, and
- Updating a second line with additional aliases.
No functional changes occur, and the change is limited to message‑alias definitions in English.