01178: Group link Localization on pmwiki.org points to wrong page

Summary: Group link Localization on pmwiki.org points to wrong page
Created: 2010-03-23 14:00
Status: Closed, duplicate with PITS:01220
Category: Bug
From: SchreyP
Version: 2.2.14
OS: pmwiki.org

Description: Hi Petko,

When I click on the group link (top left) on any page of the group Localization on pmwiki.org, or type directly http://www.pmwiki.org/wiki/Localization, I'm routed to PmWiki.Localization?. This is currently an existing empty page since June 2008 (that should be removed also).

I don't understand why this is a problem for this group and not for other groups (I checked random some) created on pmwiki.org?

Can you have a look into this?

SchreyP March 23, 2010, at 02:02 PM

This is strange: by removing this page PmWiki.Localization?, the problem was solved. Is this expected behavior? -- SchreyP March 23, 2010, at 03:23 PM

This is related to $DefaultGroup and to $PagePathFmt which sets the search order of the pages when a full page name is not requested; if PmWiki.SomePage exists, a request of pmwiki.org/wiki/SomePage will open PmWiki.SomePage. I believe this is historically so for pmwiki.org since versions 0.x when there were no WikiGroups yet. If there is a problem, you can create redirects to the real pages or just links at the beginning of the PmWiki.* page. --Petko March 23, 2010, at 04:07 PM

Backlinks to PmWiki.Localization show also Localization/Localization while there is no link on this page to PmWiki.Localization. -- SchreyP March 23, 2010, at 03:40 PM

There is a link [[PmWiki.{$Name}]] inside a conditional expression in the green "markup" box. Conditionals are not processed when backlinks are indexed. --Petko March 23, 2010, at 04:13 PM

Is adapting the pmwiki.tmpl file a solution to make this group link more specific? -- SchreyP March 23, 2010, at 04:26 PM

If we need to adapt it, we can (on pmwiki.org, not in the release). I'm marking this as a duplicate to PITS:01220 which is more general -- we can continue the discussion there. --Petko November 09, 2010, at 05:11 AM