X Y Trail

Testing trails with anchors
Testing trails with anchors

The following bullets define the wiki trail

[[#XYTrail1]]
* [[XYTrail1]]
[[#XYTrail2]]
* [[Test.XYTrail2]]
[[#XYTrail3]]
* [[Test/XYTrail3]]
[[#XYTrail4]]
* [[XYTrail4 | '''page''' ''four'']]
[[#XYTrail5]]
* [[Test/XYTrail5 | 5'^th^' page of trail]]
[[#XYTrail6]]
* [[Test.XYTrail5 | sixth page of trail]]
[[#XYTrailLoop]]
* [[XYTrail1 | loop trail]] %item comment%

Follow a wiki trail to view the tests ...

The following trails are based on the bulleted list on page Test.XYTrail, they work fine.

-> <<|[[XYTrail]]|>>
-> <<|Test.XYTrail|>>
-> <<|[[Test.XYTrail]]|>>
-> <<|[[Test.XYTrail | trail]]|>>
-> <<|[[Test.XYTrail | +]]|>>
<< | XYTrail | >>
<< | Test.XYTrail | >>
<< | Test.XYTrail | >>
<< | trail | >>
<< | X Y Trail | >>

Trails with anchors - is the syntax the same as Include Other Pages? These trails work oddly if at all ...

Variables
-> {*$Name} / {*$FullName}

Trail using ''from'' anchor
-> <<|[[Test.XYTrail#XYTrail4# | +]]|>>
-> <<|[[Test.XYTrail#{*$Name}# | +]]|>>
-> <<|[[Test.XYTrail#{*$FullName}# | +]]|>>

Trail using ''to'' anchor
-> <<|[[Test.XYTrail##XYTrail4 | +]]|>>
-> <<|[[Test.XYTrail##{*$Name} | +]]|>>
-> <<|[[Test.XYTrail##{*$FullName} | +]]|>>

Trail using ''from'' and ''to'' anchor
-> <<|[[Test.XYTrail#XYTrail4#XYTrail6 | +]]|>>

Variables

Trail using from anchor

<< | X Y Trail | >>
<< | X Y Trail | >>
<< | X Y Trail | >>

Trail using to anchor

<< | X Y Trail | >>
<< | X Y Trail | >>
<< | X Y Trail | >>

Trail using from and to anchor

<< | X Y Trail | >>

Test ontrail conditional

* (:if ontrail XYTrail {*$Name} :)     {*$Name} is on trail [[XYTrail]]     (:else:) {*$Name} (:ifend:)

* (:if ontrail XYTrail {*$FullName} :) {*$FullName} is on trail [[XYTrail]] (:else:) {*$FullName} (:ifend:)

* (:if ontrail XYTrail XYTrail4 :)     [[XYTrail4]] is on trail [[XYTrail]] (:else:) XYTrail4 (:ifend:)

Note that the special * reference is used because all tests are included from the XYTrail page.

 0: 00.00 00.00 config start
 1: 00.01 00.01 config end
 2: 00.21 00.20 MarkupToHTML begin
 3: 00.21 00.20 MarkupToHTML begin
 4: 00.22 00.21 MarkupToHTML end
 5: 00.22 00.21 MarkupToHTML begin
 6: 00.22 00.22 MarkupToHTML end
 7: 00.22 00.22 MarkupToHTML begin
 8: 00.23 00.23 MarkupToHTML end
 9: 00.23 00.23 MarkupToHTML begin
10: 00.24 00.23 MarkupToHTML end
11: 00.24 00.24 MarkupToHTML end
12: 00.25 00.24 MarkupToHTML begin
13: 00.26 00.25 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
14: 00.26 00.25 ReadApprovedUrls SiteAdmin.ApprovedUrls end
15: 00.26 00.26 MarkupToHTML end
16: 00.27 00.26 MarkupToHTML begin
17: 00.27 00.26 MarkupToHTML end
18: 00.27 00.26 now
Peak memory: 3,780,648 bytes