[Mediawiki-l] Page closure warning when previewing changes

Platonides Platonides at gmail.com
Thu Apr 14 16:42:43 UTC 2011

Neil Bird wrote:
>    Having now been bitten a few times by this (and. OK, it's really just 
> down to me being a numpty) I was wondering if there was an extension or 
> built-in option to pop-up a JavaScript warning if the user tries to close an 
> edit page that has a “changes preview” section (i.e., the current changes 
> haven't been saved yet).
>    Not just an edit page, which could be for perusing mark-up, but one where 
> <show preview> has been clicked.
>    Anyone seen anything like this?   A bit of googling hasn't highlighted 
> anything.

The Usability Initiative extension for 1.16 had a preference for that.
Seems that it is now in Vector extension in 1.17.

More information about the MediaWiki-l mailing list