You can revert/undo an edit by going to the history of the page. You can go there by click on the icon at the left of the "Edit" in the button on the top of the page. In the history you can click on "Undo". If you're a rollbacker or you have the rollback right you can also click on "Rollback".