Tags:
create new tag
, view all tags

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
Unknown file formatpatch TWiki.pm.patch manage 1.1 K 2005-02-07 - 05:40 ThomasWeigert  
Topic revision: r5 - 2008-08-22 - TWikiJanitor
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.