Description

When a page is deleted, it is impossible to reuse the name of the page by renaming another page to it.

Steps to reproduce

  1. create page FooBar

  2. delete page FooBar

  3. create page FooQuux

  4. try to rename page FooQuux to FooBar

Doesn't work.

Details

This Wiki.

Workaround

To free the name captured by a deleted page:

  1. Visit DeletedPage?action=revert&rev=1

  2. Rename DeletedPage to some other name that is not needed e.g. WikiTrash/DeletedPage.

Next time, instead of deleting pages, renamed them to WikiTrash/DeletedPage. The wiki admin should physically clean the trash from time to time.

Discussion

I guess the proper way to do this would be to merge FooQuux's revisions "on top" of FooBar. Say we have the original set of revisions like this:

FooBar = [ 1, 2, 3, ..., N, <deleted> ]
FooQuux = [ 1, 2, ..., M ]

Upon merge, the revisions should look something like:

FooBar = [ 1, 2, 3, ..., N, <deleted>, N + 1, N + 2, ..., N + M ]

Is this possible within the new versioning scheme?

AlexanderSchremmer also mentionned that MediaWiki does this properly.

Its possible to merge the contents of a renamed page with the contents of a deleted page, but in most cases it will not be what the author wanted. The problem here is broken delete page action, that does not free the deleted name. In most cases, when you delete a page, you don't like its contents and want the free the name. If you like the content, you would have renamed the page. This unwanted content should not be merged magically behind the back into other unrelated pages. -- NirSoffer 2005-04-23 09:08:08

No Merging - that is not helpful. Mediawiki does it better.

Plan


CategoryMoinMoinBugConfirmed

MoinMoin: MoinMoinBugs/RenameToDeletedPage (last edited 2007-10-29 19:21:46 by localhost)