Steps to reproduce:
- Make a change to structured data on a file description page.
- In the page history, select an older revision and view it.
- Click "edit" on the view of the old revision.
Expected result:
- The edit interface shows, allowing the old wikitext to be viewed, copied, and edited/restored.
Actual result:
- The user is redirected to action=mcrrestore
- A diff view is presented which represents the restoration of the old revision.
- The old revision can be restored, including the old structured data, using the "publish" button.
- The old wikitext is inaccessible.
Explanation:
When editing based on an old revision, it's conceptually unclear whether that edit should undo any changed since performed on structured data. If no, it's unclear how the old structured data should be restored. To fix this, a specialized interface (McrRestoreAction) was introduced that offers to restore the old revision, including wikitext and structured data, after the user confirmed the change be looking at the corresponding diff view.
Proposal:
- Do not redirect from the edit interface to action=mcrrestore immediately
- Present a read-only view of the wikitext (like we do for protected pages).
- Offer a link to the McrRestoreAction separately.
Original report
I want to restore part of an old version on Commons. Usually on wikipedia I can just go to the plain text of past versions. Example https://en.wikipedia.org/w/index.php?title=Andrew_Goatly&oldid=744109408
However when I go to a past version on Commons and I click edit, I do not get the past version. I get a comparison of edits, with the text restore. Example https://commons.wikimedia.org/w/index.php?title=File:Megacriodes_saundersii.png&action=mcrrestore&restore=152390387
How can I get the old text? So some past changes were bad. But alot of good has been done afterwards. How can I partially restore the good edits?
If this is a bug, please fix it, because it removes a vital part of editing, namely the actual text.