Steps to replicate the issue (include links if applicable):
- Visit https://de.wikipedia.org/wiki/Totalschaden_(Album)?useskin=vector-2022 in an incognito window in safe mode.
- Inspect network tab
What happens?:
The page requires an additional 10kb of render blocking CSS.
The entire Codex library appears to be loaded.
German Wikipedia in Vector 2022 loads 37.1kb compared with the 19.3kb of CSS loaded on English Wikipedia (note German Wikipedia also has significantly more site styles)
What should have happened instead?:
It appears FlaggedRevisions loads the codex-styles module. In Vector and Minerva we intentionally load the more limited codex-search-styles module so this means Codex's styles are being loaded twice on the same page and lots of unused CSS.
I suggest FlaggedRevisions loaded codex-search-styles for consistency with Minerva and Vector until the Design system team have implemented T335317.
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):