Page MenuHomePhabricator

CentralAuth special page has incorrect urls if User prefix is included
Closed, ResolvedPublicBUG REPORT

Description

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

*Visit https://meta.wikimedia.org/wiki/Special:CentralAuth/User:GPT304

What happens?:

When clicking these links they are both misleading (ie they say the user is registered/has no edits) as they are for username "User:GPT304" not "GPT304" as intended.

What should have happened instead?:
The links should be corrected, or Special:CentralAuth/User:GPT304 should show an error message, or redirect to Special:CentralAuth/GPT304.

Other information (browser name/version, screenshots, etc.):

This problem is hidden for some (English-lang?) wiki's contribs pages as they fix the incorrect url. For example at https://meta.wikimedia.org/wiki/Special:CentralAuth/User:Commander_Keane the en.wiki edit count link works, while the es.wiki edit count links does not.

Event Timeline

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

This looks like GIGO to me - just don't do that.

Change #1138407 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/CentralAuth@master] SpecialCentralAuth: Use canonical username for links and messages

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

Change #1138407 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@master] SpecialCentralAuth: Use canonical username for links and messages

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