Short description

We should implement a logic (workflow) for renaming an item that this can only be done by also renaming all references to this item. In moin-2.0 the name of an item is stored inside the meta data. We should be able to cache from where it is linked to. If one has not enough rights to change all items where it is used the renaming should not be possible.

see also for reference FeatureRequests/UpdateReferencesWhenRenamingPages

Discussion

I think, links to page are working already, the only thing is needed is abstraction layer for representing page structure anf working with it (like WikiDOM), i don't think that storing exact places of links is needed, only pagelist. -- EugeneSyromyatnikov 2010-01-24 18:12:59

RenatoSilva - Imagine you are an important user in the wiki, but not an admin. You create a page BadName, then other users, who own pages you don't have access to, start linking to your page. Then you realize it's a bad name, and now want to rename to GoodName. You just can't, because the other users have links to your page, so they sort of own your page too, even if they have no access to it! Therefore, requiring permission on all referencing pages implies that even if you have enough rights for renaming a page (#acl You:read,write,delete), you won't be able to do it sometimes. I believe a better approach is:

ReimarBauer - pagenames are also used in the users private navibar and his subscription.

if you look on how bicyclerepair can destinguish between class names and strings for a refactoring process we may be can do that at least offline. If it is needed to do it offline we would just do a rename request which will be later processed.


CategoryFeatureRequest CategoryForMoin2

MoinMoin: FeatureRequests/RenamePageLogic (last edited 2010-01-24 19:18:23 by RenatoSilva)