Steps to replicate the issue (include links if applicable):
- Load https://en.wikipedia.org with a cold cache
- Load https://en.wikipedia.org with JavaScript disabled
What happens?:
- The watch star icon is not initially visible, but loads after a second
- The watch star icon never appears at all
What should have happened instead?:
In both cases, the watch star icon should be visible immediately when the page loads
Software version (skip for WMF-hosted wikis like Wikipedia):
Current production
Other information (browser name/version, screenshots, etc.):
This appears to be caused by the watch star icon being loaded as part of non-render-blocking styles, whereas it should be loaded as part of render-blocking styles.
This bug is specific to Vector 2022, and does not appear in legacy Vector.
TODO:
- Ensure 'star', 'unstar', and 'halfstar' icons are included in the "skins.vector.icons" module rather than "skins.vector.icons.js"
- Ensure the watchstar icons show when JS is disabled after codex button/icons are implemented