wiki-v1 icon indicating copy to clipboard operation
wiki-v1 copied to clipboard

German umlauts are not working in path and directory names

Open bennycode opened this issue 8 years ago • 2 comments

I entered the following path for a new Wiki entry: übungsaufgaben/javascript.

Unfortunately it has been transformed (sluggified?) to ubungsaufgaben/javascript. Thus it's not possible to use German umlauts (ä, ö, ü) in directrory names:

1

bennycode avatar Aug 27 '17 15:08 bennycode

This is as designed. All accents are removed when writing to disk. This behavior will change in 2.0 where any character can be used.

If you want to have that functionnality in 1.x, you can simply remove the deburr method in https://github.com/Requarks/wiki/blob/ebe288a5b277e055f50ca70a705055ecf2004f43/client/js/helpers/pages.js#L21

It shouldn't cause any issue, but do so at your own risk.

NGPixel avatar Aug 28 '17 17:08 NGPixel

I have the kind of the same, when first installing wiki.js v1 i used the script that is in the docs:

curl -sSo- https://wiki.js.org/install.sh | bash

The problem is now that I dont have a client dir.

I would like to deactivate this method, or upgrade to version v2. Can you help me with this?

JanOesterh avatar Aug 23 '19 09:08 JanOesterh