Background
See parent task for full details: T358852
In T361866 and T358852, contributions from temporary accounts are added to Special:Contributions for an IP address or range. However, since up until now Special:Contributions has shown contributions from the same user name, the name is not included in each line.
What needs doing
Display the temp account name in each line representing a contribution by a temp account.
There's not obviously a terribly neat way to do this, without modifying core. Special:Contributions for an IP range does add user links for each line, but it doesn't seem great to add these ones in core, since core wouldn't be able to add the temp account contributions without the CheckUser extension. The ContributionsLineEnding hook allows an extension to modify the HTML for each line, but this would mean extracting the revision ID from the HTML, looking up the user name for that revision, and adding the user links to the HTML. Parsing the HTML like this isn't very nice, and the look-ups would all be done line-by-line, which is inefficient.