[pmwiki-users] Migrating Top Level Page to Group Folders
Patrick R. Michaud
pmichaud at pobox.com
Fri Feb 2 07:47:48 CST 2007
On Thu, Feb 01, 2007 at 07:39:54PM -1000, Sivakatirswami wrote:
> I'm sorry to pester you all for this, but I can't find an answer in my
> PMwiki mail list archives on my machine and I will not have access to
> PMwiki site for three days. And it does not seem to be standard part
> of the documentation:
>
> I want to move all top level page into folders
> named by group in order improve performance.
> (some page lists I created turned the site into cold molasses
> See other post on that subject)
>
> Do I need a cookbook recipe for this to work?
Yes, it's in http://www.pmwiki.org/wiki/Cookbook/PerGroupSubDirectories.
But there's no .php file associated with it -- it's just a configuration
setting:
$WikiDir = new PageStore('wiki.d/$Group/$FullName');
After doing this it's necessary to move existing page files into
per-group subdirectories and make sure that each per-group
subdirectory has appropriate file permissions. I might come up
with a PHP script that can handle this automatically
(especially since I think I'll be switching pmwiki.org to
per-group subdirectories as well).
Pm
More information about the pmwiki-users
mailing list