Steps to replicate the issue (include links if applicable):
- Go for example to https://ru.wikipedia.org/w/index.php?title=Шаблон:Сообщение_о_проблеме&oldid=139617682 in a private browsing window (‘incognito mode’)
- Or go to https://ru.wikipedia.org/wiki/Модсли,_Альфред in a private browsing window with JS disabled
- Observe the Codex box at the start of the page (above documentation) not having any styles and not getting loaded any styles
It seems like while doing T191156: Convert FlaggedRevisions to Codex, some mistakes were made about how to require and load Codex styles reliably for all users. This happens in mundane cases like the one described above, but also in highly important cases like notices on top of pages.
This was first raised by me in T372694: Switch ruwiki to use FlaggedRevs detailed interface mode to not much avail. It seems like Codex styling is not supposed to not load or load only after the page gets loaded if the extension is configured properly, and there must be some sort of error preventing those styles from properly getting added. Tagging @Dogu and @Ladsgroup as people responsible.

