Well this leads to a question on my side: isn't there still a problem with certain
characters in page names that cause the watchlist feature to get buggy? I remember that
(iirc) apostrophs in page names causes problems when trying to show all watched pages on
the profile - the list simply stays empty. Is this bug solved yet?
Am 11.07.2012 um 20:21 schrieb Vincent Massol <vincent(a)massol.net>et>:
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
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users