Replication steps:
- Add wgVectorResponsive = true in LocalSettings.php.
- This adds an additional stylesheet to the skin. If you check the network tab you should see this (skins.vector.styles.legacy%2Cresponsive in the URL).
- If you resize your browser window you will note the skin begins to exhibit some responsive behavior.
- When you visit localhost:8888/?useskinversion=2 this stylesheet should not be added (we plan to replace this with something else)
- When you visit localhost:8888/?useskinversion=1 this stylesheet should be added
AC
- This config flag should be restricted to the legacy mode.
Additional notes
This is enabled on testwiki and causes some strange layouts on smaller layouts
Use cases:
Url params | Styles should be added?? |
---|---|
?useskin=vector&useskinversion=2 | NO |
?useskin=vector&useskinversion=1 | YES |
?useskin=vector&useskinversion=2&useformat=mobile | NO |
?useskin=vector&useskinversion=1&useformat=mobile | YES |
QA steps
Verify on https://test.wikipedia.org/wiki/Main_Page?useskinversion=2 that resizing the browser does not cause sidebar to overlap content.
QA Results - Prod (TestWiki)
AC | Status | Details |
---|---|---|
1 | ✅ | T254378#6292175 |