Details
-
Improvement
-
Resolution: Fixed
-
Major
-
4.5.1
-
None
Description
To find out if the XWiki instance contains other (sub)wikis than just the main wiki (assuming XWIKI-8841 is implemented), you would have to test if:
$xwiki.wikiNames().size() > 1
For convenience, we could just have:
$xwiki.hasVirtualWikis()