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 times. Is there a way to insert a PRAGMA: NO-CACHE into each page?
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 lost."; };
to the page every time a user has the edit window open.
Also, we're running into an issue with images being cached, most likely in the browser, and editors have to refresh the page several times. Is there a way to insert a PRAGMA: NO-CACHE into each page?
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
!DSPAM:527ba25c78501826115712!
On Thu, 07 Nov 2013 15:34:14 +0100, yan@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 .
On Thu, 07 Nov 2013 15:34:14 +0100, yan@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. :)
mediawiki-l@lists.wikimedia.org