Hi Joris,
On Jul 11, 2012, at 12:16 PM, Joris Dirks wrote:
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.
We had this because in the past we were not supporting special characters in page names.
This is no longer the case and we're moving away from any restriction for page names.
If you're on a recent version (say 3.5 or later for example) you should have no
problem with special chars in page names.
Try it and let us know how it goes!
Thanks
-Vincent