[pmwiki-users] links broken & relative nightmares

Crisses crisses at kinhost.org
Fri Oct 27 16:00:30 CDT 2006

On Oct 27, 2006, at 4:31 PM, Hans wrote:

> Please forgive if this was covered before:
> I upgraded to pmwiki 2.2.0 beta15 and find that some links are not
> behaving as before:
> I sometimes use links like [[GroupOne| group one]] to go to the
> GroupOne default page (GroupOne/GroupOne). Now they point to
> Site.GroupOne, which does not exist. These links live on
> Site.PageTopMenu, a page included in the skin for action links etc.
> Why is this so?

That's one of the changes in the new 2.2 betas.

To fix it use:

[[GroupOne/GroupOne | group one]] or
[[GroupOne/group one]] (a free link)
to specify the group.

> The relative nightmare is this:
> I just changed the action links to be relative to the page, i.e.
> [[{Name}?action=edit | $[Edit] ]] has become
> [[{*$FullName}?action=edit | $[Edit] ]]

Looks ok to me....

but this is what I have:

%comment%page used by Gemini, FixFlow and Triad skins, plus any  
* [[{$DefaultGroup}|$[Home]]]
* [[PmWiki/DocumentationIndex|Help]]
* %item rel=nofollow accesskey=$[ak_view]%[[{*$Name}?action=browse | $ 
[View] ]]
* %item rel=nofollow accesskey=$[ak_edit]%[[{*$Name}?action=edit | $ 
[Edit] ]]
* %item rel=nofollow accesskey=$[ak_history]%[[{*$Name}?action=diff |  
$[History] ]]
(:comment * %item rel=nofollow accesskey=$[ak_attach]%[[{*$Name}? 
action=upload | Attach File ]] :)
* %accesskey=$[ak_recentchanges]%[[{*$Group}/RecentChanges| $[Recent  
Changes] ]]

> but now when I view (go to) Site.PageTopMenu and try to open it for
> editing, the edit page is Site.FullName
> What am I missing?

I'm not sure...  your link looks ok to me.


More information about the pmwiki-users mailing list