Re: [MediaWiki-l] Navigation and caching

2013-11-07 Thread yan
> On Thu, 07 Nov 2013 15:34:14 +0100, wrote: > >> To clarify, I am looking for a way to add something like this: >>window.onbeforeunload = function() { return "You work will be lost."; }; >>to the page every time a user has the edit window open. > > MediaWiki 1.22, due to be released in a few week

Re: [MediaWiki-l] Navigation and caching

2013-11-07 Thread Bartosz DziewoƄski
On Thu, 07 Nov 2013 15:34:14 +0100, wrote: To clarify, I am looking for a way to add something like this: window.onbeforeunload = function() { return "You work will be lost."; }; to the page every time a user has the edit window open. MediaWiki 1.22, due to be released in a few weeks, include

Re: [MediaWiki-l] Navigation and caching

2013-11-07 Thread yan
> What's the best way to disable the back button for users? I have a user > who uses his back button a lot and we're finding that he accidentaly > reverts his changes. To clarify, I am looking for a way to add something like this: window.onbeforeunload = function() { return "You work will be los

[MediaWiki-l] Navigation and caching

2013-11-07 Thread yan
What's the best way to disable the back button for users? I have a user who uses his back button a lot and we're finding that he accidentaly reverts his changes. Also, we're running into an issue with images being cached, most likely in the browser, and editors have to refresh the page several ti