Motivation
Temporary account name links should take the user to the temp user's contributions page -- consistent with what happens for unregistered users at the moment.
Note that temporary account links in signatures already do this: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/778684/8/includes/parser/Parser.php#4743
Spec
- Link temporary account username to the Special:Contributions page for the temp account
Notes
- Links for usernames are shown in various places. Example: the history page for any article.
- Links for usernames are built here: https://gerrit.wikimedia.org/g/mediawiki/core/+/2fd5dc7e385518ec539a9d132041da4b8a0ed9d6/includes/linker/Linker.php#1105
- Follow the logic for how links are made if the user ID is 0 and the username is an IP address. They link to Special:Contributions. We should be able to use a similar mechanism for temporary account name links.
Testing Notes
- Click on temporary account usernames e.g on History Page.
- You should be redirected to the accounts' Special:Contribution page.