Semantic

After renaming page A to B

Is this supposed to be a problem description? I don't see any problem here.

Test case

Scenarios that might reveal weaknesses of single implementations

  1. Scenario
    • rename A to B
    • edit B
    • rename B back to A
    • edit A
  2. Scenario
    • rename A to B
    • create A
  3. Scenario
    • rename A to B
    • create A
    • delete B
    • rename A to B

Implementations

Move directory

Copy and Delete

Why?

Extented Copy and Delete

If A get recreated info could hide the old revs. (not sure yet if this makes sense)

I don't see any reason for this madness.

rename by aliasing

Alias is a good idea, but we already have these, just create a redirect page.

A redirect is currently handled at http level and shows some msg why you got to another URL. An alias is handled internally (at storage level) and stays at the URL and pagename you requested.

We can remove the message or make it a small status message, and there is noting wrong with handling the redirect at the http level.

rename by internal redirect

And what happen when A is recreated with new content? There is not need to keep the old name when renaming. If the old name was good, then why the page was renamed?

Basically the the concept of create an alias for rename is broken. Rename should rename, Create Alias should create alias. After rename, the old name should be free, not lead to the new name.

The only real problem I see with rename is existing links to a page in other pages. Those links should be updated as part of the rename.

MoinMoin: StorageRefactoring/ReName (last edited 2009-09-12 20:29:45 by mid-campus-00125)