Steps to replicate the issue (include links if applicable):
- Visit https://en.wikipedia.org/wiki/User:Jdlrobson/sandbox/Machu
- Run mw.loader.getState( 'oojs-ui-core' ) and get ready
What happens?:
The module has been loaded on page load. It seems just for the purpose of a fullscreen button
What should have happened instead?:
It should make use of Codex CSS component to reduce the amount of code that needs to be loaded on page load
https://doc.wikimedia.org/codex/latest/components/demos/icon.html#icon-color
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):