On Sun, 8 Jun 2008, Pavel Sanda wrote:
i also faced this "group" problem. you could write some FAQ for wiki
newbies :)
The problem is not with you, it's the setup of the system that's borked...
For some reason that i don't understand, the function that resolves page
names assumes that if the page doesn't exist, it should be created in a
wiki group called 'Group'.
A function called ResolvePageName() is used to find pages and the path for
finding pages is set by:
$PagePathFmt = array('{$Group}.$1', # page in current group
'{$DefaultGroup}.$1', # page in default group (Web)
'$1.$1', # group home page
'$1.{$DefaultName}',# group home page
);
Normally, {$Group} is replaced by the current wiki group. So if you link
to a page that doesn't exist from a page within the group 'Web', I'd
expect $Group = Web.
When using a URI directly, I'd expect the AliasMatch directive to rewrite
e.g.
http://www.lyx.org/SomeNewPage
into
http://www.lyx.org/pmwiki.php/Web/SomeNewPage
where the group (/Web/) also has been specified.
So there's something going on that I don't understand, but I'll look at it
more.
/Christian
PS. It's almost as if the ResolvePageName() doesn't have a proper value
for {$Group} and then decides that it should really be 'Group'. *sigh*
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr