Page MenuHomePhabricator

After logging out of a temporary account using the no-JS method, the grey bar says "You are using a temporary account: <your IP address>"
Closed, ResolvedPublic

Description

(Discovered by @Ryasmeen, I simplified the reproduction steps)

Steps to reproduce:

  1. Become a temporary user
  2. Visit Special:UserLogout
    image.png (2×3 px, 232 KB)
  3. Click "Submit"
    image.png (2×3 px, 204 KB)

The grey bar is still visible, although it should only appear while using a temporary account, and it shows the IP address as the "temporary username". I guess this is just a visual bug, but it could be disconcerting.

This is not reproducible when using the "Exit session" menu option with JS enabled, which logs you out in a different manner (unless you open that link in a new window to navigate to Special:UserLogout).

image.png (551×1 px, 73 KB)

Event Timeline

Change #1047944 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/core@master] User: Set default value for isTemp

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

Change #1047944 merged by jenkins-bot:

[mediawiki/core@master] User: Reset default value for isTemp in loadDefaults

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

Djackson-ctr subscribed.

I have verified the new code has been implemented and is functioning and displaying as expected:

image.png (540×1 px, 269 KB)

image.png (502×1 px, 188 KB)