[moin-user] Punctuation in titles

PETER BLEACKLEY pete.bleackley at btinternet.com
Thu Aug 10 11:32:41 EDT 2017


I used a bash script that, for each file $NAME in sahriswiki's repository, created a directory in data/pages/$NAME, with a subdirectory data/pages/$NAME/revisions,
copied the file to data/pages/$NAME/revisions/00000001, and then created data/pages/$NAME/current, containing the string 00000001.
----Original message----
>From : paul at boddie.org.uk
Date : 10/08/2017 - 16:18 (BST)
To : pete.bleackley at btinternet.com
Subject : Re: [moin-user] Punctuation in titles

On Tuesday 8. August 2017 19.30.09 PETER BLEACKLEY wrote:
> I am migrating a wiki from SahrisWiki to MoinMoin. Several of the pages
> have titles including spaces and punctuation, such as "Christophe
> Grandsire-Koevoets' TEDx talk", whose filename in SahrisWiki is
> Christophe_Grandsire-Koevoets%27_TEDx_talk. The links to these pages no
> longer work. What can I do to fix this? Pete Bleackley

If you have migrated the pages, make sure that the page names have the correct 
form in the filesystem. They will use directories which look like this:

Christophe(20)Grandsire(2d)Koevoets(2720)TEDx(20)talk

You might need to tell us how you performed this migration. If I were doing 
it, I would process the content appropriately and then import each page in its 
own text file into Moin using the page package infrastructure. This should 
ensure the correct use of the filesystem and also interact with any search 
engine indexing.

For reference, the MoinMoin.wikiutil.quoteWikinameFS function performs the 
filesystem encoding in MoinMoin 1.x.

Paul



More information about the moin-user mailing list