When resizing the window to say 567px the language button doesn't collapse on Office Wiki
Developer notes
This looks another load order race condition. The issue is the user-links-collapsible-item class is not getting applied to the button.
I can replicate it when I do:
wfLoadSkin( 'Vector' ); wfLoadExtension('UniversalLanguageSelector');
I think the solution here is to stop using the hook in Vector and moving this to SkinVector::getTemplateData where ordering is better guaranteed.
QA steps
- Test on https://wikidata.beta.wmflabs.org/wiki/Q356553
- Resize browser. When the screen gets too small the language button should disappear.
- Expanding the browser window should make the language button appear again.
QA Results - Beta
AC | Status | Details |
---|---|---|
1 | ✅ | T287533#7263606 |
2 | ✅ | T287533#7263606 |
QA Results - Prod
AC | Status | Details |
---|---|---|
1 | ✅ | T287533#7263619 |
2 | ✅ | T287533#7263619 |