Last modified: 2014-09-23 19:56:38 UTC
Reporting against revision 52757 (/trunk/extensions/Drafts) Steps to reproduce :: 1) Create few drafts for an article 2) Click on a Discard link for a Draft << The draft is discarded immediately without any confirmation>> Expected Outcome:: 1) User shall be prompted to confirm discard 2) User shall have an option to Undo the discard if he wish 3) Message shall be displayed after the discard to the user Reference :: Test Environment :: OS : Vista , DB : MySQL 5.1.33 , PHP : 5.2.9-2, MediaWiki : 1.15.0 Browser : Firefox 3.0.11
Janesh, are you still running into this on current MediaWiki trunk?
I agree that an "Undo" option would be ideal (we don't need a pre-discard confirm if we offer a friendly "Your draft has been discarded - undo" notification later). This is a low priority enhancement though as we're talking about ephemeral content anyway.
I'm not sure adding an undo button is really possible. Once you hit discard, it's gone. It would be much easier to just add a confirmation button.