[pmwiki-users] Rename page and cross-group (:include:)

John Rankin john.rankin at affinity.co.nz
Thu Apr 7 23:37:07 CDT 2005


I have updated the RenamePage recipe at
http://www.pmwiki.org/wiki/Cookbook/RenamePage
which adds ?action=rename capability to PmWiki.

A big thanks to Menachem for helping to test the new features.

The recipe now shows you a list of unqualified links on the 
requested page and gives you the option to:
- do nothing
- add the current group
- add the new group

So when you rename a page across groups, you can ensure all 
links continue to work. It correctly treats the following cases

- PmWiki and [[main]] (which mean PmWiki.PmWiki and Main.HomePage)

- [[~jr]] and [[!category]] and [[#anchor]]

- `NotAWikiWord and $WikiWordCount[$word] = 0

As a special bonus feature

    (:includeg Group.PageName:)

qualifies any unqualified links it finds, meaning that cross-group
includes need no longer break links. All standard include features 
should still work.
-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list