Steps to replicate the issue (include links if applicable):
Compare:
- https://meta.wikimedia.org/wiki/Special%3ACentralAuth%2F~2024-7820
- https://meta.wikimedia.org/w/api.php?action=query&meta=globaluserinfo&guiuser=~2024-7820
What happens?:
The API returns a "baduser" error.
What should have happened instead?:
The API should provide global user info, just as it does on the Special:CentralAuth page.
Other information (browser name/version, screenshots, etc.):
I used Meta as an example, which after T376132 will accept temp account names, but I assume this bug will persist anywhere temp accounts aren't enabled.