On Tue, Nov 19, 2013 at 6:02 PM, Guillaume "Louis-Marie" Delhumeau <
gdelhumeau(a)xwiki.com> wrote:
Hi devs.
In the coming 5.3 milestone 2, all wikis are displayed in the Wiki Index,
including the templates, which was not the case before.
From the user point of view, maybe these templates should not be listed in
the Wiki Index. But on the other hand, if you want to see a template, you
will not be able to access through the wiki index.
We also have introduced the "hidden" flag for wikis (in the WikiDescriptor,
not in the UI yet). If we consider template wikis are "technical" wikis, we
may use this flag to hide them. Then, in the Wiki Index, we don't care if a
wiki is a template or not, we only care about the "hidden" flag. If the
user does not want to see the templates in the list, she can mark them as
hidden, exactly as we do for documents.
But what about the template list in the wiki creation wizard? Should we
list all templates, or only the visible ones?
My proposition:
- all wikis are visible though the wiki index (template or not).
- if we want to hide templates to the users, we use the hidden flag in the
wiki descriptor.
- in the wiki creation wizard, we display all the templates, even these
which are tagged as hidden.
WDYT?
This is a complex question...
First shot from my side:
* For me the admin pages should only contain configuration data and data
displaying should be outside of it (yes we need to move some stuff out at
apps in their spaces). So listing wiki templates should not be in the admin
UI and it should be in the wiki index.
* The Wiki index should list template wikis and there should be a way to
visually see that a wiki is a template wiki (either a livetable column,
some more subtle sign/information or 2 livetables, one for standard wikis
and one for templates). Having 2 livetables is interesting since the main
use case for wiki index is to navigate to a subwiki and very seldom to a
template wiki and thus displaying the templates separately will allow
viewing all standard wikis first in the UI.
* In the wiki index, users should only see wikis that they have the right
to access in view mode and hidden wikis should be by default not visible
(whether to view hidden wikis or not could be a user profile config option
same as "show hidden docs" and it could be on by default for the Admin user
for example).
* Template wikis should probably be created with special rights by default
so that only admins or its creator can edit them by default. BTW as we
discussed, we lost the ability to see the wiki rights when creating it that
we had with the wiki manager and I think we need that back asap.
* Wiki creation wizard should list all template wikis for which the current
user has the right to view
Thanks
-Vincent
Thanks,
Louis-Marie