|Version 10 (modified by hasienda, 5 years ago) (diff)|
Rename wiki pages
This plugin could be obsoleted soon by native support in Trac. See the upcoming Wiki Rename feature currently developed within Trac trunk (see: changeset notes). This is current development and IMHO receives more attention the code here, i.e. it alread got an optional redirect page with content translation support. I'd suggest to join and shift development effort from here to Trac's Wiki Rename making the new native feature as good as possible. - hasienda
This plugin allows you to rename wiki pages. It is an evolution of the WikiRenameScript, and currently has the same limitations.
It will move a page and its history, and will rewrite explicit links ([wiki:PageName Label]) leading to it from other wiki pages. It will also move any attachments on the page.
Currently this plugin doesn't interact well with the TagsPlugin. You should be careful to remove any tags on a page before renaming it, and then re-adding them to the new page.
You can access the page rename form through the Admin system. For convenience, a link is also added to the context navigation bar in the wiki.
A script named trac-wikirename will automatically be installed.
To use it:
trac-wikirename OldName NewName /path/to/trac/env
A WIKI_RENAME permission is available, though anyone with WIKI_ADMIN will also be allowed to rename pages.
To enable the plugin:
[components] wikirename.* = enabled
Existing bugs and feature requests for WikiRenamePlugin are here.
If you have any issues, create a new ticket.
Same warning as in Notes above is valid for the FlexibleWikiPlugin. Wiki page names are not updated and flexible navigation maybe messed up totally by renaming pages referenced as parent page for other pages. While waiting for the clean solution (in terms of coding style), available dirty patches for TagsPlugin and FlexibleWikiPlugin (same ticket, see comment 11) may still be preferred over having no solution at all.
Download and Source