The diff interface allows to switch between different view modes: "visual", "wikitext", as well as an "inline" toggle (not depicted). This is a relatively new feature that didn't exist when Revision-Slider was written.
The issue: The selection resets back to "wikitext" every time the user interacts with Revision-Slider.
Expected behavior: It should be a sticky selection. At least as long as the user doesn't leave the diff page.
A quick investigation shows that the user's selection is stored in a diff-type option for registered users, and appended as a &diff-type=… URL parameter for anonymous users. Revision-Slider apparently needs to forward this URL parameter in the AJAX request it does to flip to the next diff without reloading the entire page, or make sure the diff is generated with the currently logged in user's options in mind. Not sure why this doesn't happen by default. Is some token necessary?
This is split from T344596 where we fixed another issue related to these buttons.