**List of steps to reproduce**:
* Go to https://ru.wikipedia.org/w/index.php?title=Иванов,_Валентин_Дмитриевич&diff=116003785&oldid=116003248&uselang=en while being logged on and having VisualEditor enabled.
* Expand RevisionSlider.
* Click "Older edit ←".
**What happens?**:
1. The URL in the address bar changes to https://ru.wikipedia.org/w/index.php?diff=116003248&oldid=116002121&title=Иванов,_Валентин_Дмитриевич&uselang=en&diffmode=source.
2. But then it reverts to https://ru.wikipedia.org/w/index.php?title=Иванов,_Валентин_Дмитриевич&diff=116003785&oldid=116003248&uselang=en&diffmode=source.
3. As a result, if you refresh the page, you will see the original revision that you opened, not the one you navigated to.
**What should have happened instead?**:
The URL reversion shouldn't happen.
**Why it happens?**
I've debugged a bit, and the immediate reason of the reversion is this line of code: https://phabricator.wikimedia.org/diffusion/EVED/browse/master/modules/ve-mw/preinit/ve.init.mw.DiffPage.init.js$95.
```
history.replaceState( '', document.title, uri );
```
This code is part of the `onReviewModeButtonSelectSelect` function related to this button group: {F34590701}
This happens only in wikis that have this button on diff pages (I guess this means VisualEditor enabled).