Steps to reproduce:
- Open a page with an image
- Click "Edit" (to start VE)
- Change the content
- Save the page
- Click the image
Expected:
The image should be opened with MMV
Observed:
You will be redirected to the File page
If you reload the page, you can open the image with MMV. Reproduced on https://www.mediawiki.org/wiki/Project:Sandbox