[dokuwiki] Moving pages

Hello,

i've just tried the movepage-plugin, but it was a nightmare.
This tool looks fine at first, but it doesn't work correct.
So my intention is to write one my own, but i need some inspriration for that :-)


Moving pages from one place to another needs some apsects to be considered:

General)
  - Need sourcepage and destination (namespace & id) of page
  - Is there already a page at the destination ?

Links)
- Pages that refer to the moved page must be changed to the new destination.
- What if links where relative (.:ns1:index) and new position of page doesn't allow that (not the same parent-namespace) ?
- Links from moving page to other pages must be resolved, if they are relative. Should they simply be changed to absolute one, or try to be relative to new destination ?


Media-Files)
- If a page moves from one namespace to another, mediafiles have to move also.
- Mediafile must not exists on new destination namespace. What if they do?
- If file to be moved is linked in other pages, the links must be resolved too.


Do i forgot something ? Please add !


Oliver Geisen _____________________________ Systemadministrator Kreisboten Verlag Mühlfellner KG 82362 Weilheim i. Ob. Tel. 0881/686-904 Fax 0881/686-74


-- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: