Ask user to confim exiting unsaved wiki page
I just lost a great deal of documentation I was writing on a project's wiki because I accidentally loaded another webpage in the same tab. Hitting the back button didn't help as it just reloaded the edit page with the last saved wiki entry.
I'd like to request a feature enhancement which is a pop up that requests the users to confirm if they really want to load another page or close the current tab/window if there's unsaved text during wiki edits. I guess it can be done with window.onbeforeunload().
Another solution could be to auto-save wiki edits periodically to some kind of draft section like Gmail does.
PS: I know I should save my edits periodically but I don't like to see a lot of edits in the wiki history.