Steps to replicate the issue (include links if applicable):
- Added a new default gadget for Infobox styles on 11:17, 31 May 2024 (CEST)
- Finished working on most of it and removed mobile CSS at 12:47
- Checked in private mode and all seemed good for a few articles I checked.
- At 21:42 got reports that the desktop version is broken for at least two other people:
- You can see back and forth as we test that everthing seems fine, but new reports come in that they still don't see new CSS (from the new gadget).
What happens?:
At 11:34, 3 June 2024 (CEST) still getting a report that 2 people do not see new CSS for infoboxes. Screen below.
What should have happened instead?:
I'm an experienced dev and I know caching is hard (-:
But there is big problem here that resources are being loaded in different versions. Mediawiki:Mobile.css/Common.css must be loaded with the same methods as a modular CSS provided by default gadgets.
Purge of this cache by interface administrators would be fine too, but I really think you need to find a way to mange CSS/JS. Maybe you could build CSS/JS packages and load them in a specific version (e.g. files with added date-time). This cache should be rebuild after specific set of Mediawiki pages are modified.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia): pl.wikipedia.
Other information (browser name/version, screenshots, etc.):
Desktop version still not loading new gadget for anonymous users:
Screenshot's date is 2024-06-03 at 11:31 (4 days after creating the infobox gadget).