[moin-user] Fwd: Re: How to rename pages and subpages?

Volker Wysk post at volker-wysk.de
Tue Aug 1 13:30:21 EDT 2017


I've accidentally sent this mail to Roger Hase directly, instead of the list. 
Here it is:

Betreff: Re: [moin-user] How to rename pages and subpages?
Datum: Dienstag, 1. August 2017, 18:27:16 CEST
Von: Volker Wysk <post at volker-wysk.de>
An: Roger Haase <crosseyedpenguin at yahoo.com>

Am Dienstag, 1. August 2017, 14:40:34 CEST schrieb Roger Haase:
> When you rename a page, there is a checkbox at the top of the rename dialog
> labeled "Rename all / subpages too?" If you check that, subpages will be
> renamed. 

Oh, good. I missed that.

> However, the links in the mother page will not be updated.
> There is an option you can add to the wikiconfig.py file:
>     show_rename_redirect = True
> that will add a second checkbox to the rename dialog labeled "Create
> redirect for renamed page(s)?". (I could not find that documented anywhere
> other than MoinMoin/config/multiconfig.py) 

There is a one line documentation on it in HelpOnConfiguration...

> If you check both boxes on the
> rename dialog, then subpages will be renamed and in the place of the old
> subpage a revised page will be created redirecting to the new page. The
> mother page will also have a redirect from the old page to the new page. 

This isn't optimal, but better than nothing...

> If
> you try to rename back to a previously used page name you will get an error
> message.

Except when you first delete the redirection page.


More information about the moin-user mailing list