[pmwiki-users] Confusing creation of new pages in wiki hiearchy??

Patrick R. Michaud pmichaud at pobox.com
Tue Aug 7 09:28:32 CDT 2007


On Mon, Aug 06, 2007 at 09:37:24PM -0600, Carlos wrote:
> Hi all,
> 
> I am really confused about how PmWiki creates new pages and would 
> appreciate any help or clarification from anyone who might care to give 
> it to me.
> 
> Specifically I created some links on the sidebar after removing all 
> existing links except the one named "edit SideBar".  My new links 
> appeared with the question mark indicating the pages linked to didn't 
> exist.  So far so good.  I then created the pages and then while 
> clicking on other links in PmWiki like "initial setup tasks" or other 
> pre-existing links, the sidebar links appear next to the pre-existing 
> pages with question marks again.  Though I already created them!

Are you running version 2.1.x?  If so, then the problem is that the
links in the Site.SideBar page are relative to whatever page
is being displayed.  For example, a link such as [[SomePage]]
end up pointing to Main.SomePage if viewed from a page in the
Main group but it will point to PmWiki.SomePage when viewed from
a page in the PmWiki group.

Starting with 2.2.0-beta, all links are relative to the page in
which they are written.  Thus, a link such as [[SomePage]] written
in Site.SideBar will always point to Site.SomePage .

In either case, the solution is generally to group-qualify all
links in the Site.SideBar page.

Pm



More information about the pmwiki-users mailing list