List of steps to reproduce (step by step, including full links if applicable):
- Log in
- In Special:Preferences disable the compact languages link feature like so:
- Visit https://de.wikipedia.org/wiki/Berlin
- Click the language button
What happens?:
Most of the time the language dropdown shows like so:
However, occasionally no menu will show like so:
I was able to replicate this 1 / 10 times.
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:
Issue occurred on German Wikipedia.
The following gadgets are enabled:
The Content Translation beta feature is enabled.
I was unable to replicate on https://de.wikipedia.org/wiki/Berlin?safemode=1
Developer notes
It's possible the class vector-menu--hide-dropdown is related.
Inspecting the code this class is removed if the module ext.uls.interface is being loaded. Presumably a race condition exists where some code loads that module.
QA steps
Scenario 1
- Visit https://en.wikipedia.beta.wmflabs.org/wiki/Selenium_language_test_page incognito window
- Click the language button
- Expected: the dialog shows with "search for language"
Scenario 2
- Login
- Visit https://en.wikipedia.beta.wmflabs.org/wiki/Special:Preferences and disable the box "Use a compact language list, with languages relevant to you." at bottom of appearance section
- Visit https://en.wikipedia.beta.wmflabs.org/wiki/Selenium_language_test_page
- Click the language button
- Expected: a scrollable list should appear.
QA Results - Beta
AC | Status | Details |
---|---|---|
1 | ✅ | T287191#7265244 |
2 | ✅ | T287191#7265244 |
QA Results - Prod
AC | Status | Details |
---|---|---|
1 | ✅ | T287191#7265262 |
2 | ✅ | T287191#7265262 |