Description

If you try to delete a page that is only a REDIRECT to an other page, deletion will fail.

Steps to reproduce

  1. Have a page that consists only of
     ##REDIRECT Target
  2. Call that page (i.e. be sure the URL reads ?action=show)

  3. From the "More Actions" menu, choose "Delete Page"
  4. Although the URL now reads ?action=DeletePage, you won't be able to delete the page, as the confirmation dialogue is not shown, but only the message "This page is redirected to..."

Details

This wiki.

MoinMoin Version

Version 1.5.6 [Revision release]

Python Version

2.5 (r25:51908, Oct 9 2006, 19:27:13) [GCC 3.3.5 (Debian 1:3.3.5-13)]

Language you are using the wiki in (set in the browser/UserPreferences)

DE_de

Workaround

  1. Edit the "redirect" page.
  2. Remove the #REDIRECT line and replace it with some meaningless content, like DeleteMe.

  3. Save the page.
  4. Now call the "Delete Page" action.

Discussion

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/UnableToDeleteRedirect (last edited 2008-03-18 19:28:50 by JohannesBerg)