HiddenLink

Test whether hidden links are visible to pagelists when conditional has a number

Here are three category links, two hidden with different conditionals.
(:if true:)
[[!Visible]]
(:ifend:)

(:if1 false:)
[[!HiddenByNumberedIf]]
(:if1end:)

(:if false:)
[[!HiddenByPlainIf]]
(:ifend:)

Here are three category links, two hidden with different conditionals. Visible

If pagelist can see the visible category, HiddenLink should appear in the following list.
(:pagelist group=Test list=all name=Hidden* link=Category.Visible:)

If pagelist can see the visible category, HiddenLink should appear in the following list.

Test /
HiddenLink  Test whether hidden links are visible to pagelists when conditional has a number
If pagelist can see beyond "if1 false" HiddenLink should appear in the following list.
(:pagelist group=Test list=all name=Hidden* link=Test.HiddenByNumberedIf:)

If pagelist can see beyond "if1 false" HiddenLink should appear in the following list.

No results found.

If pagelist can see beyond "if false", HiddenLink should appear in the following list.
(:pagelist group=Test list=all name=Hidden* link=Category.HiddenByPlainIf:)

If pagelist can see beyond "if false", HiddenLink should appear in the following list.

Test /
HiddenLink  Test whether hidden links are visible to pagelists when conditional has a number
  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.21 00.21 MarkupToHTML end
  5: 00.21 00.21 MarkupToHTML begin
  6: 00.21 00.21 FPLTemplate: Chain begin
  7: 00.21 00.21 FPLTemplate: FPLTemplateLoad
  8: 00.22 00.21 FPLTemplate: FPLTemplateDefaults
  9: 00.22 00.21 FPLTemplate: FPLTemplatePageList
 10: 00.22 00.21 MakePageList pre
 11: 00.22 00.21 PageListSources begin
 12: 00.22 00.21 PageStore::ls begin wiki.d/{$FullName}
 13: 00.22 00.22 PageStore::ls merge wiki.d/{$FullName}
 14: 00.22 00.22 PageStore::ls end wiki.d/{$FullName}
 15: 00.22 00.22 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
 16: 00.22 00.22 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
 17: 00.22 00.22 PageStore::ls end $FarmD/wikilib.d/{$FullName}
 18: 00.22 00.22 PageListSources end count=1
 19: 00.22 00.22 PageListTermsTargets begin count=1
 20: 00.22 00.22 PageIndexGrep begin
 21: 00.25 00.24 PageIndexGrep end
 22: 00.25 00.24 PageListTermsTargets end count=1
 23: 00.25 00.24 PageListSort pre ret=4 order=name
 24: 00.25 00.24 MakePageList items count=1, filters=PageListTermsTargets
 25: 00.25 00.24 MakePageList post count=1, readc=1
 26: 00.25 00.24 PageListSort begin
 27: 00.25 00.24 PageListSort sort
 28: 00.25 00.24 PageListSort end
 29: 00.25 00.24 MakePageList end
 30: 00.25 00.24 FPLTemplate: FPLTemplatePmWikiOrg
 31: 00.25 00.24 MarkupToHTML begin
 32: 00.25 00.24 MarkupToHTML end
 33: 00.25 00.24 FPLTemplate: FPLTemplateSliceList
 34: 00.25 00.24 FPLTemplate: FPLTemplateFormat
 35: 00.25 00.24 MarkupToHTML begin
 36: 00.25 00.24 MarkupToHTML end
 37: 00.25 00.24 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
 38: 00.25 00.24 FPLTemplate: Chain end
 39: 00.25 00.24 MarkupToHTML end
 40: 00.25 00.24 MarkupToHTML begin
 41: 00.25 00.24 FPLTemplate: Chain begin
 42: 00.25 00.24 FPLTemplate: FPLTemplateLoad
 43: 00.25 00.24 FPLTemplate: FPLTemplateDefaults
 44: 00.25 00.24 FPLTemplate: FPLTemplatePageList
 45: 00.25 00.24 MakePageList pre
 46: 00.25 00.24 PageListSources begin
 47: 00.25 00.24 PageStore::ls begin wiki.d/{$FullName}
 48: 00.26 00.25 PageStore::ls merge wiki.d/{$FullName}
 49: 00.26 00.25 PageStore::ls end wiki.d/{$FullName}
 50: 00.26 00.25 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
 51: 00.26 00.25 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
 52: 00.26 00.25 PageStore::ls end $FarmD/wikilib.d/{$FullName}
 53: 00.26 00.25 PageListSources end count=1
 54: 00.26 00.25 PageListTermsTargets begin count=1
 55: 00.26 00.25 PageIndexGrep begin
 56: 00.28 00.27 PageIndexGrep end
 57: 00.29 00.27 PageListTermsTargets end count=0
 58: 00.29 00.27 PageListSort pre ret=4 order=name
 59: 00.29 00.27 MakePageList items count=0, filters=PageListTermsTargets
 60: 00.29 00.27 MakePageList post count=0, readc=0
 61: 00.29 00.27 PageListSort begin
 62: 00.29 00.27 PageListSort sort
 63: 00.29 00.27 PageListSort end
 64: 00.29 00.27 MakePageList end
 65: 00.29 00.27 FPLTemplate: FPLTemplatePmWikiOrg
 66: 00.29 00.27 MarkupToHTML begin
 67: 00.29 00.27 MarkupToHTML end
 68: 00.29 00.27 FPLTemplate: FPLTemplateSliceList
 69: 00.29 00.27 FPLTemplate: FPLTemplateFormat
 70: 00.29 00.27 MarkupToHTML begin
 71: 00.29 00.27 MarkupToHTML end
 72: 00.29 00.27 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
 73: 00.29 00.27 FPLTemplate: Chain end
 74: 00.29 00.27 MarkupToHTML end
 75: 00.29 00.27 MarkupToHTML begin
 76: 00.29 00.27 FPLTemplate: Chain begin
 77: 00.29 00.27 FPLTemplate: FPLTemplateLoad
 78: 00.29 00.27 FPLTemplate: FPLTemplateDefaults
 79: 00.29 00.27 FPLTemplate: FPLTemplatePageList
 80: 00.29 00.27 MakePageList pre
 81: 00.29 00.27 PageListSources begin
 82: 00.29 00.27 PageStore::ls begin wiki.d/{$FullName}
 83: 00.29 00.28 PageStore::ls merge wiki.d/{$FullName}
 84: 00.29 00.28 PageStore::ls end wiki.d/{$FullName}
 85: 00.29 00.28 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
 86: 00.29 00.28 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
 87: 00.29 00.28 PageStore::ls end $FarmD/wikilib.d/{$FullName}
 88: 00.29 00.28 PageListSources end count=1
 89: 00.29 00.28 PageListTermsTargets begin count=1
 90: 00.29 00.28 PageIndexGrep begin
 91: 00.32 00.30 PageIndexGrep end
 92: 00.32 00.30 PageListTermsTargets end count=1
 93: 00.32 00.30 PageListSort pre ret=4 order=name
 94: 00.32 00.30 MakePageList items count=1, filters=PageListTermsTargets
 95: 00.32 00.30 MakePageList post count=1, readc=1
 96: 00.32 00.30 PageListSort begin
 97: 00.32 00.30 PageListSort sort
 98: 00.32 00.30 PageListSort end
 99: 00.32 00.30 MakePageList end
100: 00.32 00.30 FPLTemplate: FPLTemplatePmWikiOrg
101: 00.32 00.30 MarkupToHTML begin
102: 00.32 00.30 MarkupToHTML end
103: 00.32 00.30 FPLTemplate: FPLTemplateSliceList
104: 00.32 00.30 FPLTemplate: FPLTemplateFormat
105: 00.32 00.30 MarkupToHTML begin
106: 00.32 00.30 MarkupToHTML end
107: 00.32 00.30 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
108: 00.32 00.30 FPLTemplate: Chain end
109: 00.32 00.30 MarkupToHTML end
110: 00.33 00.30 MarkupToHTML end
111: 00.33 00.31 MarkupToHTML begin
112: 00.34 00.31 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
113: 00.34 00.32 ReadApprovedUrls SiteAdmin.ApprovedUrls end
114: 00.35 00.32 MarkupToHTML end
115: 00.35 00.32 MarkupToHTML begin
116: 00.35 00.33 MarkupToHTML end
117: 00.35 00.33 now
Peak memory: 4,668,744 bytes