Background
The parser function (magic word) {{REVISIONUSER}} outputs the username of the user who last edited a page. See https://www.mediawiki.org/wiki/Help:Magic_words#Technical_metadata_of_another_page. This should become {{#revisionuser}} due to T204370: Behavior switch/magic word uniformity.
If used on a file page, this will output the user who last edited the text element of the page, not the user who last uploaded a file with that name.
Proposal
{{#lastuploader}} (taking {{#lastuploader:filename}}). If used on a file; page, then defaulting to {{#lastuploader:pagename}}`. If used on a non-file page, then output error:
⚠️ No file specified for parser function {{#lastuploader}}
Spanner: If a file is reverted to an old version, should it output the user who did the reverting? Or the user who originally uploaded that file? What do people think?
Use case(s)
Would be useful on Commons. Could be used in templates there. 👍