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 History Action Size Date Who Comment
Unknown file formatpatch TWiki.pm.patch r1 manage 1.1 K 2005-02-07 - 05:40 ThomasWeigert  
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2008-08-22 - TWikiJanitor
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.