r4 - 10 Apr 2005 - 13:27:52 - CrawfordCurrieYou are here: TWiki >  Codev Web > AvoidNonWebsInWeblist
Tags:
, create new tag

Avoid non-webs in %WEBLIST%

The %WEBLIST% variable defaults to all public webs when no webs parameter is supplied. This search will consider all directories in data as long as the name does not have periods or underbars to be proper webs.

In many installations there are directories that are not webs, but satisfy these criteria, most prominently the CVS directory, where one manages one's installation using CVS.

The attached patch to TWiki.pm considers only those directories which contain a topic named $mainTopicname (usually WebHome) to be a legal web, in addition to above criteria:

-- ThomasWeigert - 07 Feb 2005

This has not attracted any support, and I personally believe that the webs directory should only contain webs. So I'm cancelling it for DakarRelease.

Topic attachments
I Attachment Action Size Date Who Comment
elsepatch TWiki.pm.patch manage 1.1 K 07 Feb 2005 - 05:40 ThomasWeigert  
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r4 < r3 < r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo