The mw-lang-portlet dropdown is currently broken on a lot of production pages, e.g. on https://en.wikipedia.org/wiki/Wikipedia_talk:Questions (possibly depending on the namespace?). It appears to be interactive, but nothing happens when it's clicked, with no way for the user to understand why. There is no error in the JavaScript console.
Note how the "文A ▼" button looks exactly the same as the "Tools ▼" button below (same colors, same size, same hover effects). The Tools button works as expected.
Expected behavior: The button should probably not even be there when there is no way a page can have other language versions, and no obvious way for a user to create a new one.
QA steps
With JS enabled and JS disabled check the behavior of the language button on :
- https://en.wikipedia.beta.wmflabs.org/wiki/Wikipedia_talk:Questions
- https://en.wikipedia.beta.wmflabs.org/wiki/Conflict-title-0.14552623888152905-I%C3%B1t%C3%ABrn%C3%A2ti%C3%B4n%C3%A0liz%C3%A6ti%C3%B8n
- https://en.wikipedia.beta.wmflabs.org/wiki/Language_test
QA Results - Beta
With JS enabled and JS disabled check the behavior of the language button on
QA Results - PROD
With JS enabled and JS disabled check the behavior of the language button on
AC | Status | Details |
---|---|---|
1 | ✅ | Language box w/ JS |
2 | ✅ | Language box w/o JS |