[pmwiki-users] Renaming multiple pages?

H. Fox haganfox at users.sourceforge.net
Wed Dec 7 12:45:45 CST 2005


On 12/7/05, chr at home.se <chr at home.se> wrote:
> Hi
>
> I've just (manually) been renaming multiple pages and wonder if there is a
> better way of doing this.

- Hide quoted text -
I've had good luck with this recipe.
http://www.pmwiki.org/wiki/Cookbook/RenamePage

You can put something like this in your config.php

## Activate the page-renaming script.
if ($action == 'rename' || $action == 'postrename') {
 RetrieveAuthPage($pagename, 'admin'); // Require admin priviliges.
 @include_once("$FarmD/cookbook/renamehelper.php");
 @include_once("$FarmD/cookbook/rename.php"); }

and something like this in your sidebar

(:if auth admin:)
[[{$Name}?action=rename|Rename page]]
(:if:)

Hagan




More information about the pmwiki-users mailing list