11 Jul
2012
11 Jul
'12
10:16 a.m.
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