Page MenuHomePhabricator

Cannot restore an old version on Commons, only get a comparison
Open, NormalPublic

Description

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.

Event Timeline

Taketa created this task.Jun 16 2019, 7:16 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 16 2019, 7:16 PM
Taketa updated the task description. (Show Details)Jun 16 2019, 7:16 PM
Aklapper renamed this task from How can I restore old text to Cannot restore an old version on Commons, only get a comparison.Jun 17 2019, 11:41 AM

@Taketa this happens when you try to restore a version with different structured data. (depicts or captions) If no structured data was altered, you get the plain text.

Taketa added a comment.Jul 1 2019, 6:15 PM

@AlexisJazz Thank you for your response. So if I understand correctly Commons made a switch and all pages with old structured data that are mixed with new structured data do not show properly. However it works fine in both the old structured data and the new structured data. Is that correct? So what I would like to be sure of is that the new structured data also shows ful texts, this has not been removed. All the best.

Keegan added a subscriber: Keegan.Jul 1 2019, 6:56 PM

@AlexisJazz Thank you for your response. So if I understand correctly Commons made a switch and all pages with old structured data that are mixed with new structured data do not show properly. However it works fine in both the old structured data and the new structured data. Is that correct? So what I would like to be sure of is that the new structured data also shows ful texts, this has not been removed. All the best.

@Taketa changes to wikitext will be shown as well, and the wikitext can be accessed for restoring old revisions.

You can read the announcement for this change in the SDC talk page archives, it should help explain why this change happened and how this change works.

Keegan triaged this task as Normal priority.Jul 1 2019, 6:57 PM
WDoranWMF moved this task from MCR to mop on the Core Platform Team board.Fri, Jul 26, 6:38 PM