On Thu, 07 Nov 2013 15:34:14 +0100,
<yan(a)seiner.com> 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, includes this feature.
You can download a snapshot at
https://toolserver.org/~krinkle/mwSnapshots/#!/mediawiki-core/REL1_22 .
Great, thanks. I'll wait the few weeks to get the official version. That
way I only have to upgrade once. :)