Hello devs,
I would like we start to think about how we should implement space
pretty names in XE. Ideally, I would like to implement space pretty
names in the course of XWiki 3.0.
Here is an (open) list of options :
1. We use the space WebHome title.
Pros: It's easy to implement, we don't need new UI.
Cons: Can create a confusion between the space and it's home page,
since they have the same title.
2. We add a new field in XWikiPreferences and each space have their
titles in WebPreferences page.
Pros: The home page title can be different than the space title
Cons: It means the WebPreferences page becomes mandatory for spaces
with a pretty name
3. We add a new class, XWiki.SpaceClass, that holds metadata about the
space (pretty name, type of space, etc.). Each space have its
XWiki.SpaceClass object either in the WebHome or in WebPreferences
Pros : It's open to even more space metadata, like categories, or any
other metadata we want
Cons: It adds complexity. If it's stored in WebPreferences page, then same as 2.
Today I'm more inclined towards 1. In my opinion this is an elegant
solution that does not add complexity and that is not hard to
understand for users of XWiki.
Jerome.