Description

When you save a page from the preview version, there will be a stray #preview tag in the URL...

Steps to reproduce

  1. Edit a page.
  2. Switch to preview mode.
  3. Save the page.
  4. Look at the UTL bar.. it will have #preview at the end, but the page will have no such anchor.

What should happen is, after I hit save, the #preview is removed, since I'm then viewing the already saved, final version.

Example

http://moinmoin.wikiwikiweb.de/MoinMoinBugs/SuperfluousPreviewAnchorInURL#preview##URL:

Details

This Wiki

Workaround

Manually remove the #preview from the URL. No, just click away that message and it will load the page with action=show...

Discussion

This should be fixed. If I hit reload in my browser when in this state, it takes me back to editing the page, which is extremely confusing to users.

Not sure if this is still a problem with 1.5.x Even though the browser does warn about the reload, this scenario occurs too often: Edit a page, load it up with new WikiNames, visit a new link (in a new tab or window), create a page for the new link, go back to the original page, hit reload, and instead of getting the page with the links updated, you get the edit page (after the OKing the warning about POSTDATA). If you then hit Save Changes, you get tons of conflicts. I know "Doctor it hurts when I do this" - but if there's a way to have the browser reflect that you're at the page and not its preview, this would all go away.

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/SuperfluousPreviewAnchorInURL (last edited 2007-10-29 19:16:42 by localhost)