Hi,

The function $util.clearName "Cleans up the passed text by removing
all accents and special characters to make it a valid page name." It
removes spaces from names, as demonstrated in the FAQ tutorial [1].
Removing spaces is a bit too much for my taste; I've resorted to using
$util.clearAccents to filter page names (also replacing periods with
commas!). I hope the users of my wiki won't find illicit uses/breaking
page names. Are there better alternatives?

I agree using spaces can make it difficult to access URLs, but the
page names become far clearer.

Cheers, Joris
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to