[dokuwiki] Re: Deleting a namespace

  • From: "Timo \"Silbär\" Falk" <Timo.Falk@xxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 28 Feb 2006 11:20:04 +0100

Am Mon, 27 Feb 2006 19:21:22 +0100 schrieb Andreas Gohr:

> On Mon, 27 Feb 2006 17:47:20 +0000
> Anthony Walters <anthony.walters@xxxxxxx> wrote:
> 
>> http://wiki.splitbrain.org/wiki:namespaces
>> This page tells me that
>> "When all pages inside a namespace are removed the namespace logically
>> doesn_t exist anymore. DokuWiki usually deletes the now empty
>> directory  as well."
>> 
>> What config files(s) do i edit to set this up?
> 
> There is no need to setup anything. Deleting empty directories is
> handled by the io_sweepNS() function which is called everytime a file is
> deleted.
> 
> However this may not work always. Eg. someone opened a nonexisting page
> for editing but then browsed away there may be a stale lockfile left. In
> this case deleteing the non-empty directory will fail silently.

Hmm, on my WAMP it is definitely not working:

1. Creating new page in empty namespace -> one TXT-file after save in NS
2. reedit the new page, deleting all text -> no file, but NS still there

Silbär

-- 
"Wie? Schwanger?!" - http://www.20six.de/silbaer

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: