[pmwiki-users] Hidden page-text-variables, link targets, and pagelists

Kathryn Andersen kat_lists at katspace.homelinux.org
Tue Mar 13 06:42:35 CDT 2007


I'm using PmWiki 2.2beta34.

I've run into what appears to be a bug.  I've reproduced it
at
http://www.pmwiki.org/wiki/Test/PageListLinkWithPtv1
http://www.pmwiki.org/wiki/Test/PageListLinkWithPtv2
http://www.pmwiki.org/wiki/Test/PageListLinkWithPtv3

The first page has two page-text-variables, one called "Link1" and the
other called "Link2".
The value of Link1 is [[Test/PageListLinkWithPtv2]]
The value of Link2 is [[Test/PageListLinkWithPtv3]] and Link2 is a
hidden variable (set with (:name:value:))

On the 
http://www.pmwiki.org/wiki/Test/PageListLinkWithPtv2
http://www.pmwiki.org/wiki/Test/PageListLinkWithPtv3
pages, they contain a pagelist which lists pages which link to them.

(:pagelist link={$FullName} fmt=#simple:)

The PageListLinkWithPtv2 page correctly lists the PageListLinkWithPtv1
page.

However, the PageListLinkWithPtv3 DOES NOT list the PageListLinkWithPtv1
page, even though there's a (hidden) link from it.

This breaks my site, which depends on a lot of pagelists which use the
link={*$FullName}, and I was changing things over to use hidden
page-text variables (with their values being displayed nicely formatted
in the GroupHeader) when I ran into this bug.

Maybe it's supposed to be a feature (that is, hidden is hidden) but I
wasn't expecting that changing a page-text-variable from visible to
hidden would change the behaviour of pagelists as well as changing how
it shows on the page.

Kathryn Andersen
-- 
 _--_|\     | Kathryn Andersen	<http://www.katspace.com>
/      \    | 
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     | 
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe



More information about the pmwiki-users mailing list