Page MenuHomePhabricator

User page link is red in diff and history pages edit summary despite global user page existing
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce:

What happens?:
My global user page link looks red instead of blue. Also clicking the link, opens the local user page creation page instead of my user page.

What should have happened instead?:
I have a user page on meta so, it should be blue.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:

image.png (693×1 px, 145 KB)
image.png (693×1 px, 703 KB)

Event Timeline

I'm probably wrong here but I wonder if T292905, T292834, T288402 could all be vaguely related.

I have yet to investigate, but at a glance this seems more like the issue described at https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Redlink_to_existing_page and a potential CommentFormatter regression.

@Aklapper: I think they're at least related. In T293707, it's only in the page history, but not in diffs, and with a locally created page (a soft redirect). Here, it's in diffs, and it's with a global user page, not one that's locally created.

Tol added a subscriber: Tol.

I've seen this happening too; it was previously fine.

Tgr renamed this task from My global user page link looks red instead of blue to User page link is red in edit summary despite global user page existing.Jan 25 2022, 7:02 PM
Tgr renamed this task from User page link is red in edit summary despite global user page existing to User page link is red in diff page edit summary despite global user page existing.Jan 25 2022, 7:06 PM
Ammarpad renamed this task from User page link is red in diff page edit summary despite global user page existing to User page link is red in diff and history pages edit summary despite global user page existing.Feb 18 2022, 7:16 AM
Ammarpad added subscribers: AlexisJazz, stjn, Stang and 2 others.
Ammarpad triaged this task as Medium priority.Feb 18 2022, 7:45 AM
Ammarpad added a subscriber: Ammarpad.

Tackling the oldest, there seems to be so many duplicates around here.

Change 763693 had a related patch set uploaded (by Ammarpad; author: Ammarpad):

[mediawiki/core@master] CommentParser: Treat known titles as always known for linking

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

Change 763693 merged by jenkins-bot:

[mediawiki/core@master] CommentParser: Treat known titles as always known for linking

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

Change 764445 had a related patch set uploaded (by Ammarpad; author: Ammarpad):

[mediawiki/core@master] CommentParser: Fix OR operation order.

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

Change 764445 merged by jenkins-bot:

[mediawiki/core@master] CommentParser: Optimise operation order (cache before isAlwaysKnown)

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