{"action":"closed","issue":{"url":"https://api.github.com/repos/localwiki/localwiki/issues/249","labels_url":"https://api.github.com/repos/localwiki/localwiki/issues/249/labels{/name}","comments_url":"https://api.github.com/repos/localwiki/localwiki/issues/249/comments","events_url":"https://api.github.com/repos/localwiki/localwiki/issues/249/events","html_url":"https://github.com/localwiki/localwiki/issues/249","id":3939313,"number":249,"title":"Warn on saving an edit with no changes","user":{"login":"JayBazuzi","id":1259628,"avatar_url":"https://avatars.githubusercontent.com/u/1259628?v=3","gravatar_id":"","url":"https://api.github.com/users/JayBazuzi","html_url":"https://github.com/JayBazuzi","followers_url":"https://api.github.com/users/JayBazuzi/followers","following_url":"https://api.github.com/users/JayBazuzi/following{/other_user}","gists_url":"https://api.github.com/users/JayBazuzi/gists{/gist_id}","starred_url":"https://api.github.com/users/JayBazuzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JayBazuzi/subscriptions","organizations_url":"https://api.github.com/users/JayBazuzi/orgs","repos_url":"https://api.github.com/users/JayBazuzi/repos","events_url":"https://api.github.com/users/JayBazuzi/events{/privacy}","received_events_url":"https://api.github.com/users/JayBazuzi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2012-04-03T05:09:33Z","updated_at":"2015-01-26T08:29:03Z","closed_at":"2015-01-26T08:29:03Z","body":"To repro:\r\n----\r\n1. Click EDIT on a page\r\n2. Click SAVE\r\n\r\nResult:\r\n----\r\nA new entry appears in the history, with no diff. This is mostly just noise.\r\n\r\nExpected:\r\n----\r\nA warning that you haven't made a change.\r\n\r\nNotes:\r\n----\r\nI think it's valuable to allow no-edit commits, so that if you make an edit while not logged in, you can log in & add a history entry to take responsibility for your edit. There are other possible approaches, like disallowing anonymous edits by default, or allowing people to attach their credentials to an anonymous edit."}}