[pmwiki-users] Best practices - link to pages

Ben Wilson dausha at gmail.com
Tue Apr 24 06:41:45 CDT 2007


On 4/23/07, Stéphane Heckel <hsteph at club-internet.fr> wrote:
> Greetings, ...
>
> "Confluence" does not handle duplicated page name (each page has a unique
> name). It means that the syntax to link to a page is [pagename] in the whole system
[...]

Not exactly, depending on your point of view. Confluence requires you
explicitly create groups (i.e., "spaces" in Confluencese.'),[1] and
all pages within that group/space are refered to by name. However, you
can cite to another space's page via [[GroupB:Pagename]] in
Confluence. At least, that's what its documentation says. This
behavior is akin to PmWiki's group layout.

Users of PmWiki would more likely consider the Confluence space as a
flat wiki field, rather than a group, because of the difficulty in
creating a new space. That is, you have to have an administrator
create the space and assign an administrator for that space. Otherwise
a space is a PmWiki group; semantically speaking. One Confluence
instance has many spaces, just as a PmWiki instance has multiple
groups. PmWiki is a bit more flexible with its Intermap function in
mapping between PmWiki instances and other external-to-this-instance
destinations.

> Is there a way to link to a page that is not stored in the "current" group
> without declaring the groupname in the syntax ? (ie : [groupname/pagename])

No, you can't; and shouldn't. Think about this in reverse. When pages
are stored in wiki.d, the are "GroupA.Pagename." format. When you link
to [[Pagename]], the system intuits that you mean GroupA.Pagename and
not GroupB.Pagename, when you are in GroupA. If PmWiki were "strict"
in your naming each page, you would always have to write
[[GroupA.Pagename]], even on a page in GroupA.

Are you trying to just display the pagename? In that case, try
[[GroupB/Pagename]], which has the effect of concealing the group
name. You can even say [[GroupB/This is a page]] to link to
GroupB.ThisIsAPage, as PmWiki makes the adjustment.

-- 
Ben Wilson
"Words are the only thing which will last forever" Churchill

[1]:  Both "group" and "space" mean namespaces, or the level where
each page must be uniquely named. The administrative overhead in
creating a Confluence space is one of its weaknesses; so says a white
paper I'm putting together. :-)



More information about the pmwiki-users mailing list