The documentation in
WebPreferences says:
* List this web in the %TWIKIWEB%.SiteMap:
* If yes, Set SITEMAPLIST = =on=, and add the "what" and "use to..." description for the site map. Make sure to list only links that include the name of the web, e.g. <nop>%WEB%.Topic links.
The use of
on
implies the to turn it off, use
off
.
In fact, as experimentation with %WEBS{} shows, an non blank value is taken as
on
, even
off
.
Actually this whole thing is confusing. It is the NOSEARCHALL that causes the web to be hidden in %
WEBS{}.
This is counter-intuitive since the documentation says that this means the web will be excluded from %SEARCH( web="all" }
While it is reasonable to have that for hiden webs, the docmentation doens't say that this hides the web.
So it is possible to have a web that is excluded from searches but IS in the site map. So if you see it in the web map and it doens't show up in a search listing - even to indicate nothing found - are users going to be confused or what? And if you see it in the site map you can search it by putting it in the 'webs='
list. Only you can't do that from the normal search user interface since it uses %WEBS{} to generate the list.
No doubt this type of orthogoanlity makes sense to a programmer .... somewhere along the line.
But the documentation does not accurately reflect what is going on, and the result can confuse the users.
The only place SITEMAPLIST is used is in a SEARCH in SiteMap. Since that search explicilty looks for SITEMAPLIST = on, it would seem that is can;t really go wrong.
NOSEARCHALL doesn't hide the web; it stops it from being searched. Since lists are usually generated using SEARCH, it gets automatically excluded.
Sorry, that is not a bug, it is expected behaviour.
CC