Page MenuHomePhabricator

[INTERLANG/ANON] Weird bubble behavior when using "uselang" as anonymous user
Closed, ResolvedPublic

Description

Weird bubble behavior when using "uselang" as anonymous user. When clicking the link on the bubble, ULS will try to apply setlang, which is totally wrong (and doesn't work).

Precondition:

  • Not logged in

Steps to reproduce:

  1. Go to http://dev.translatewiki.net/
  2. Go to http://dev.translatewiki.net?uselang=de in the same window

Observed:
I. A tooltip appears pointing to the ULS cog stating "Sprache English geändert"

  1. Click "English"

Observed:
II. URL changes to http://dev.translatewiki.net/?uselang=de&setlang=en
III. UI stays German (expected, because uselang takes priority over setlang)

Expected:
IV. ULS should not display any links with "setlang" to anonymous users, as this is not allowed to work.
V. Should not use any smart tooltips for anonymous users for the cog in this scenario. Only use "Language settings".


Version: master
Severity: normal
Whiteboard: ux

Details

Reference
bz47970