Hi devs,
I recently discussed with Edy about how the breadcrumb should look and
there may be an inconsistency with the hierarchy displayed by the
document tree.
Breadcrumb on the main wiki:
Home Icon (pointing to the main wiki home page) / MDoc1 / MDoc2 / ... / MDocX
Breadcrumb on a subwiki (that has only global users):
Home Icon (pointing to the main wiki home page) / Subwiki Pretty Name
(pointing to the subwiki home page) / SDoc1 / SDoc2 / ... / SDocX
After seeing the breadcrumbs both on the main wiki and on a subwiki
the user might think that the document MDoc1 and the wiki "Subwiki
Pretty Name" are on the same level: both children of the main wiki.
Next if the user tries the document tree macro using:
{{documentTree showWikis="true" /}}
he will notice that "Subwiki Pretty Name" is not actually a child of
the main wiki but a top level node (a child of the "farm"), on the
same level with the main wiki.
Can this be considered as an inconsistency? In our model (e.g.
document reference) there is no hierarchy between wikis, although, as
Edy pointed out, there are places where we consider the main wiki to
be the "parent" of the subwikis (e.g. in the authorization module, by
inheriting access rights from the main wiki).
WDYT? Is the main wiki the parent of the subwikis or just a sibling?
Should the breadcrumb be synchronized with the tree?
Thanks,
Marius