While using Revision-Slider it's possible to get the pair of Visual Wikitext buttons without icons.
Steps to reproduce:
- Enable user preference "Use the wikitext mode inside the visual editor, instead of a different wikitext editor."
- Go to a diff page for something that does not contain any wikitext changes, e.g. a log entry. Example: https://de.wikipedia.org/wiki/Special:Diff/220483682/230653261.
- Open/expand RevisionSlider.
- Click "← Older edit". RevisionSlider loads the new diff without reloading the entire page. It obviously never loads the necessary ResourceLoader modules.
- This currently happens on all live wikis.
- It only happens when Revision-Slider is enabled and expanded.
- The skin is unrelated.
Not sure if this qualifies as a regression. Maybe it was always like this and we just never noticed. The buttons apparently exist since 2017, see T167508. But T338388 might be related.
Possible solutions:
- Simply make sure these modules are always loaded, no matter if the buttons are shown or not.
- Somehow re-load the missing modules when RevisionSlider flips the page.
- …?