Hello,i'd like to have dokuwiki create a corresponding directory in mediadir for each page-namespace created automatically. I think fx saveWikiText() would be a good place to do this, because it handles creation/deletion of wiki-pages and their namespaces.
Here, somewhere around line 760 it says: io_sweepNS($id, 'datadir'); io_sweepNS($id, 'mediadir'); }else{ // save file (namespace dir is created in io_writeWikiPage) io_writeWikiPage($file, $text, $id); // PATCH HERE // create namespace dir in media, too io_createNamespace($id, 'media'); // pre-save the revision, to keep the attic in sync $newRev = saveOldRevision($id); $del = false; } Maybe, this could be included into dokuwiki's configuration ? Oliver Geisen Systemadministrator _____________________________ Kreisboten Verlag Mühlfellner KG Am Weidenbach 8 82362 Weilheim i. Ob. Tel. 0881/686-904 Fax 0881/686-74 Sitz Weilheim, AG München, HRA 64016, p.h.G.: Kreisboten-Verlag Verwaltungsgesellschaft mbH, Weilheim, AG München, HRB 119773, Geschäftsführer: Dirk Ippen, Gerd Waldenmaier, Andreas Simmet -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist