Last modified: 2011-04-30 01:20:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T22517, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20517 - Cancel link from edit page always returns to current version instead of version being edited
Cancel link from edit page always returns to current version instead of versi...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.15.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-06 02:41 UTC by rwoodworth
Modified: 2011-04-30 01:20 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description rwoodworth 2009-09-06 02:41:38 UTC
How to reproduce:
1) Go to any revision history.
2) Click the datestamp on an old version.
3) Click the edit tab.
4) Scroll down and click the cancel button.

What happens: The current version of the page is displayed.
What should happen: The old version of the page (same as step 2) is displayed.
Workaround: use the back button in the browser, instead of the cancel button.

(Seems so obvious that someone should have posted it already.  But I searched several times and didn't see it.)

Many thanks,
Comment 1 Brion Vibber 2009-09-14 17:15:29 UTC
Clarified summary.
Comment 2 Alexandre Emsenhuber [IAlex] 2009-09-16 20:43:46 UTC
Fixed in r56441.
Comment 3 rwoodworth 2009-09-17 22:16:28 UTC
Wow!  Thank you, thank you.
Comment 4 Brion Vibber 2009-09-29 21:52:57 UTC
Fix is insufficient; try for instance previewing the edit -- now the cancel link shows no oldid parameter.
Comment 5 Aryeh Gregor (not reading bugmail, please e-mail directly) 2009-11-09 21:12:12 UTC
Why do we even have a cancel button?  Removing it seems like the easiest fix; it's clutter.  We may as well have a back button on every page . . . that's what the browser UI is for.
Comment 6 Alexandre Emsenhuber [IAlex] 2010-02-05 15:01:39 UTC
Corrected in r62027.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links