I must tell you that I’ve already found that documentation and I’ve already seen the Name Strategies Module.
I’m using XWiki 12.2 but I don’t have the Slug Name Strategy option: I only see Preformatted Names and Character replacement (which is enabled).
I tried to add a new character:
Forbidden character: [space]
Replacement character: -
But it does not seem to work, because existing pages with a space in their title did not change their URL. Does this work also on already existing pages?
Sorry for that, the name of strategies have changed just after their introduction and I forgot to update the documentation: the Slug Name Strategy is actually named “Preformatted Names” now. It’s the same thing.
This feature only allows to perform checks and transformations on the page name when saving them after the strategy has been enabled. There’s is currently no option to automatically rename all the existing documents to comply with the defined strategy.