Filed in: Test.RelativeLinksPagelist · Modified on : Sat, 10 Sep 11
The template, located at PageListTemplate, looks like this
This template includes multiple forms of links to test results with relative links enabled
[[#relativelinks]] (:if equal {<$Group}:) !!!Start of pagelist "header". Testing three forms: || '''Form:'''||{ $foo } ||{ =$foo } ||{ *$foo } || || '''Escaped:'''||[@ {$foo}||
{=$foo}
||{*$foo}
||
Group: | {$Group} | {=$Group} | {*$Group} |
FullName?: | {$FullName} | {=$FullName} | {*$FullName} |
{=$Group}: | Test. | {=$Group}.? | Test. |
Test.PageListTemplate | {=$FullName}? | Test.RelativeLinksPagelist |
Now, that template is invoked using a simple pagelist directive limited to the first 20 items:
Form: | { $foo } | { =$foo } | { *$foo } |
Escaped: | {$foo} | {=$foo} | {*$foo} |
Group: | {$Group} | {=$Group} | {*$Group} |
FullName?: | {$FullName} | {=$FullName} | {*$FullName} |
Go to page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
Only search in group: AttachImage (1), Backup (4), Banners (7), BlogIt (6), Category (360), Christian (99), Cjc (522), Cookbook (2312), CookbookFr (9), DaveG (21), EmacsModes (52), FoxDocumentation (21), GoogleMapAPI (27), HierarchicalGroupProposals (4), Holidays (149), LinuxTex (6), Localization (15), Magazine (24), Main (12), News (33), NewSkinIdeas (3), Nyår (12), PITS (1523), PLCal (19), PLCalDemo (45), PmCal (846), PmForm (24), PmWiki-DITA (3), PmWiki (315), PmWikiAr (7), PmWikiBg (22), PmWikiCa (48), PmWikiCreole (5), PmWikiCs (27), PmWikiDa (20), PmWikiDe (180), PmWikiEl (7), PmWikiEn (3), PmWikiEo (10), PmWikiEs (14), PmWikiFa (3), PmWikiFi (3), PmWikiFr (175), PmWikiHu (12), PmWikiId (4), PmWikiIt (58), PmWikiJa (41), PmWikiKr (3), PmWikiLt (6), PmWikiLv (3), PmWikiMk (3), PmWikiNl (29), PmWikiNo (5), PmWikiPl (14), PmWikiPt (5), PmWikiPtBr (59), PmWikiRo (5), PmWikiRu (89), PmWikiSi (8), PmWikiSk (31), PmWikiSq (6), PmWikiSv (14), PmWikiTa (3), PmWikiTl (8), PmWikiTr (5), PmWikiUk (8), PmWikiVi (20), PmWikiZhCn (49), PmWikiZhTw (45), Private (3), Profiles (1035), Quiz (8), RHCE (8), Scott (6), Site (66), SiteAdmin (12), Sites (5), Skins (223), SkinTest (5), SkinTutorials (6), StefCTDemo (9), Test (1134), TestBlog (38), TestDescription (12), TestDescriptionFmt (3), Teste (2), TestGroup1 (14), TestJa (17), TestPageList (8), TestProtected (3), TestSort (13), TestW7 (32), UserAuth2 (12), UserSven (2), UTF8 (67), ViewModes (10), WikiSh (14), WikiSpheres (5), WTF (8), XESTest (4), Àéè (4)
Here is something like the test that had appeared in the relativelinks pagelist header, all by itself without any escapes.
Form: | { $foo } | { =$foo } | { *$foo } |
(Not)Escaped: | {=$foo} | ||
Group: | Test | {=$Group} | Test |
FullName?: | Test.PageListTemplate | {=$FullName} | Test.RelativeLinksPagelist |
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
0: 00.00 00.00 config start 1: 00.01 00.01 config end 2: 00.21 00.21 MarkupToHTML begin 3: 00.23 00.22 FPLTemplate: Chain begin 4: 00.23 00.22 FPLTemplate: FPLTemplateLoad 5: 00.23 00.22 FPLTemplate: FPLTemplateDefaults 6: 00.23 00.22 FPLTemplate: FPLTemplatePageList 7: 00.23 00.22 MakePageList pre 8: 00.23 00.23 PageListSources begin 9: 00.23 00.23 PageStore::ls begin wiki.d/{$FullName} 10: 00.24 00.23 PageStore::ls merge wiki.d/{$FullName} 11: 00.24 00.23 PageStore::ls end wiki.d/{$FullName} 12: 00.25 00.24 PageStore::ls begin $FarmD/wikilib.d/{$FullName} 13: 00.25 00.24 PageStore::ls merge $FarmD/wikilib.d/{$FullName} 14: 00.25 00.24 PageStore::ls end $FarmD/wikilib.d/{$FullName} 15: 00.25 00.24 PageStore::ls begin /home/pmwiki/pmwiki/pub/skins/maguila/maguila.d/$FullName 16: 00.25 00.24 PageStore::ls merge /home/pmwiki/pmwiki/pub/skins/maguila/maguila.d/$FullName 17: 00.25 00.24 PageStore::ls end /home/pmwiki/pmwiki/pub/skins/maguila/maguila.d/$FullName 18: 00.26 00.25 PageListSources end count=10319 19: 00.26 00.25 PageListSort pre ret=4 order=name 20: 00.26 00.25 MakePageList items count=10319, filters= 21: 00.28 00.26 MakePageList post count=10319, readc=0 22: 00.28 00.26 PageListSort begin 23: 00.28 00.26 PageListSort sort 24: 00.46 00.44 PageListSort end 25: 00.46 00.44 MakePageList end 26: 00.46 00.44 FPLTemplate: FPLTemplatePmWikiOrg 27: 00.47 00.45 MarkupToHTML begin 28: 00.47 00.45 MarkupToHTML end 29: 00.47 00.45 FPLTemplate: FPLTemplateSliceList 30: 00.47 00.45 FPLTemplate: FPLTemplateFormat 31: 00.47 00.45 MarkupToHTML begin 32: 00.50 00.48 MarkupToHTML end 33: 00.50 00.48 FPLTemplate: FPLTemplatePmWikiOrgPostFormat 34: 00.50 00.48 FPLTemplate: Chain end 35: 00.50 00.48 FPLTemplate: Chain begin 36: 00.50 00.48 FPLTemplate: FPLTemplateLoad 37: 00.50 00.48 FPLTemplate: FPLTemplateDefaults 38: 00.50 00.48 FPLTemplate: FPLTemplatePageList 39: 00.50 00.48 MakePageList pre 40: 00.50 00.48 PageListSources begin 41: 00.50 00.48 PageStore::ls begin wiki.d/{$FullName} 42: 00.51 00.49 PageStore::ls merge wiki.d/{$FullName} 43: 00.51 00.49 PageStore::ls end wiki.d/{$FullName} 44: 00.51 00.49 PageStore::ls begin $FarmD/wikilib.d/{$FullName} 45: 00.52 00.49 PageStore::ls merge $FarmD/wikilib.d/{$FullName} 46: 00.52 00.49 PageStore::ls end $FarmD/wikilib.d/{$FullName} 47: 00.52 00.50 PageStore::ls begin /home/pmwiki/pmwiki/pub/skins/maguila/maguila.d/$FullName 48: 00.52 00.50 PageStore::ls merge /home/pmwiki/pmwiki/pub/skins/maguila/maguila.d/$FullName 49: 00.52 00.50 PageStore::ls end /home/pmwiki/pmwiki/pub/skins/maguila/maguila.d/$FullName 50: 00.53 00.51 PageListSources end count=10319 51: 00.53 00.51 PageListSort pre ret=4 order=name 52: 00.53 00.51 MakePageList items count=10319, filters= 53: 00.54 00.51 MakePageList post count=10319, readc=0 54: 00.54 00.51 PageListSort begin 55: 00.54 00.51 PageListSort sort 56: 00.69 00.67 PageListSort end 57: 00.69 00.67 MakePageList end 58: 00.70 00.67 FPLTemplate: FPLTemplatePmWikiOrg 59: 00.70 00.68 MarkupToHTML begin 60: 00.73 00.71 MarkupToHTML end 61: 00.73 00.71 FPLTemplate: FPLTemplateSliceList 62: 00.73 00.71 FPLTemplate: FPLTemplateFormat 63: 01.31 01.26 MarkupToHTML begin 64: 01.34 01.29 MarkupToHTML end 65: 01.34 01.29 FPLTemplate: FPLTemplatePmWikiOrgPostFormat 66: 01.34 01.29 FPLTemplate: Chain end 67: 01.36 01.31 MarkupToHTML end 68: 01.37 01.31 MarkupToHTML begin 69: 01.37 01.31 MarkupToHTML end 70: 01.37 01.31 MarkupToHTML begin 71: 01.37 01.31 ReadApprovedUrls SiteAdmin.ApprovedUrls begin 72: 01.38 01.32 ReadApprovedUrls SiteAdmin.ApprovedUrls end 73: 01.38 01.32 MarkupToHTML end 74: 01.38 01.32 MarkupToHTML begin 75: 01.38 01.33 MarkupToHTML end 76: 01.38 01.33 MarkupToHTML begin 77: 01.40 01.34 MarkupToHTML end 78: 01.40 01.34 MarkupToHTML begin 79: 01.40 01.34 MarkupToHTML end 80: 01.40 01.34 MarkupToHTML begin 81: 01.41 01.35 MarkupToHTML end 82: 01.41 01.35 now
Peak memory: 10,540,424 bytes