Initially, the
NOSEARCHALL
variable was designed to prevent a web from being searched. Based on this rationale, the variable carries this disclaimer in TWikiPreferences:
* Exclude web from a =web="all"= search: (Set to =on= for hidden webs; is overwritten by web preferences) __Note__ it is much better to use TWikiAccessControls in individual webs to control who can and can't view the contents of a web. NOSEARCHALL is retained for compatibility, but you should avoid using it.
The problem with this recommendation, is that various plugins and variables (e.g.
%WEBLIST%
,
%FLEXWEBLIST%
) have adopted
NOSEARCHALL
as a way of marking
public
vs
private
webs for more than just searching. We need the ability to mark a web as public (show) or private (accessible nbut not shown).
That way could be a new variable (e.g. "PRIVATEWEB" or "HIDDENWEB") while we retain =NOSEARCHALL+ for backward compatibility. But it's extremely handy to "hide" certain adminish or background webs without actually locking them with an ACL.
--
TWiki:Main/VickiBrown
- 2014-03-14