Do not log ninja edits
Closed this issue · 5 comments
svivian commented
Don't log edits within a few minutes of each other. (Or update it with the latest revision?)
echteinfachtv commented
To have a time frame, e.g. 5 minutes would be great. Sometimes I edit a post 5 times to get all spelling and formatting sorted out, all those get saved.
Problem: How do you determine which is the last version - that is supposed to be saved?!
svivian commented
All the edits are stored with a time in the database so it's easy to find which was the last one. Actually, the latest revision is simply the one in qa_posts - the rows in qa_edit_history are all the previous revisions.
echteinfachtv commented
yes, of course. Then we could just overwrite the former one! good idea.
svivian commented
Fixed in latest revision.
echteinfachtv commented
Seems to work, thank you. Well done :)