Why are we doing this?
The ability to undo an edit is helpful for quickly reverting vandalism. As this powerful tool is available to all users, without needing to be confirmed, we would like to make it available in the app.
User story
As a reader/editor using the Wikipedia iOS app, I want to be able to revert vandalism quickly when I see it by undoing a revision
Mocks
| Revision | User education | Undo revision logged in | Undo revision logged out | Potential for conflict warning | Edit summary | Empty edit summary | Edit summary, keyboard up | Edit confirmation | Undo revision not possible | Cancel out of modal |
|---|---|---|---|---|---|---|---|---|---|---|
| https://zpl.io/V0wXMxR | https://zpl.io/awgG00N | https://zpl.io/aBWLRBQ | https://zpl.io/2jYD5Q4 | https://zpl.io/bzjpYJ7 | https://zpl.io/awO8J47 | https://zpl.io/VDWeYwr | https://zpl.io/VDWeY9q | https://zpl.io/VKyrY88 | https://zpl.io/bAWL7ln | https://zpl.io/V4zLe5N |
Design details
- Logged in and logged out users can undo changes, but we should show an alert when users are not logged in
- Edit summary should include the pre-canned option of 'reverted vandalism'
- If an edit cannot be undone -- after submitted, we should show a user education modal explaining that the user must make changes manually with an included link to the editing view open to the section in question.
- If the user taps 'cancel' on the 'cannot undo' education modal, the 'undo' link should now be greyed out










