[pmwiki-users] Renaming a document

John Rankin john.rankin at affinity.co.nz
Tue Aug 2 18:00:01 CDT 2005

On Wednesday, 3 August 2005 10:44 AM, Anno <anno at shroomery.org> wrote:
>Today I stumbled over another wiki, called cowiki
>and a good suggestion about how the rename of a document should
>be handled:
>"Possibility to rename any document at any time without leaving broken links.
>All links to other documents remain consistant even if you or someone else
>renames or moves a document."
>I think this would be a good thing also for pmwiki.

See Cookbook:RenamePage

This avoids broken links in 2 ways:

- the original page is retained with a redirect to the 
  new page, so all links *to* the page are retained

- the author has an option to qualify any unqualified 
  links with a group name, so all links *from* the page 
  can be retained, if desired

It uses redirect rather than searching out all references 
to the renamed page and changing them because this may
inadvertently change the sense of what had been written.

John Rankin

More information about the pmwiki-users mailing list