Impact: On Polish and French Wikipedia, content renders inconsistently based on language.
Steps to replicate the issue (include links if applicable):
- Set global language to cs (or visit https://cs.m.wikipedia.org/wiki/Trubkonos%C3%AD)
- In Special:preferences set your language to en
- Edit [[MediaWiki:Wikimedia-styles-exclude]] and set text to hatnote|infobox
- Visit a page with infobox / hatnote (e.g. https://cs.m.wikipedia.org/wiki/Trubkonos%C3%AD)
What happens?:
- Styles apply differently e.g. https://cs.m.wikipedia.org/wiki/Trubkonos%C3%AD?uselang=en looks different from https://cs.m.wikipedia.org/wiki/Trubkonos%C3%AD?uselang=cs
What should have happened instead?:
- Styles should not apply - the exclude list is only applying if the language is cs.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):