Page MenuHomePhabricator

"contribs" is redundant for temporary accounts
Open, In Progress, Needs TriagePublic3 Estimated Story PointsBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Open RecentChanges, watchlist, history, diff, logs, etc. on which an edit/action by a temporary account is shown
  • Check the link targets for "~..." and "contribs" in "~... (talk | contribs)"

What happens?:
They point to the same page.

What should have happened instead?:
"contribs" doesn't exist and only "(talk)" follows the username, just like with IP edits pre-masking.

Details

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Just to note that the contribs link may be rendered in red to indicate no edits. This does not happen for the user page.

Therefore, if the link is removed we should consider whether the userpage link should be displayed in red.

The same issue applies to CheckUser-SuggestedInvestigations too

@hector.arroyo, do we have a decision on this?

Therefore, if the link is removed we should consider whether the userpage link should be displayed in red.

@hector.arroyo, do we have a decision on this?

Therefore, if the link is removed we should consider whether the userpage link should be displayed in red.

I would put the link in the Temp Account names pointing to Special:Contributions in red when they have no edits (cc/ @Niharika )

@hector.arroyo, do we have a decision on this?

Therefore, if the link is removed we should consider whether the userpage link should be displayed in red.

I would put the link in the Temp Account names pointing to Special:Contributions in red when they have no edits (cc/ @Niharika )

However, as a temp account is created when an edit is made, I'm not sure about which situations may lead to the creation of a temporary account without the user having edits (and therefore having a non-existing Special:Contributions page). Perhaps that happens for external accounts?

@hector.arroyo, do we have a decision on this?

Therefore, if the link is removed we should consider whether the userpage link should be displayed in red.

I would put the link in the Temp Account names pointing to Special:Contributions in red when they have no edits (cc/ @Niharika )

However, as a temp account is created when an edit is made, I'm not sure about which situations may lead to the creation of a temporary account without the user having edits (and therefore having a non-existing Special:Contributions page). Perhaps that happens for external accounts?

A user making their first edit and has that edit denied due to the content of the edit will have a temporary account created for them. For example if:

The temporary account gets created early in the edit cycle, so likely anything that prevents an edit also will create the temporary account

Change #1224698 had a related patch set uploaded (by Harroyo-wmf; author: Harroyo-wmf):

[mediawiki/core@master] UserLinkRenderer: Hide contrib links for Temp Accounts

https://gerrit.wikimedia.org/r/1224698

A user making their first edit and has that edit denied due to the content of the edit will have a temporary account created for them

That makes sense, thanks for the example.

I've submitted a patch that takes into account whether the temp account has no edits, making the link red if that's the case.

hector.arroyo set the point value for this task to 3.Fri, Jan 9, 3:15 PM