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.00 00.00 config end
  2: 00.03 00.02 MarkupToHTML begin
  3: 00.03 00.02 MarkupToHTML begin
  4: 00.04 00.03 MarkupToHTML end
  5: 00.04 00.03 MarkupToHTML begin
  6: 00.04 00.03 FPLTemplate: Chain begin
  7: 00.04 00.03 FPLTemplate: FPLTemplateLoad
  8: 00.04 00.03 FPLTemplate: FPLTemplateDefaults
  9: 00.04 00.03 FPLTemplate: FPLTemplatePageList
 10: 00.04 00.03 MakePageList pre
 11: 00.04 00.03 PageListSources begin
 12: 00.04 00.03 PageStore::ls begin wiki.d/{$FullName}
 13: 00.05 00.04 PageStore::ls merge wiki.d/{$FullName}
 14: 00.05 00.04 PageStore::ls end wiki.d/{$FullName}
 15: 00.05 00.04 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
 16: 00.05 00.04 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
 17: 00.05 00.04 PageStore::ls end $FarmD/wikilib.d/{$FullName}
 18: 00.05 00.04 PageListSources end count=1
 19: 00.05 00.04 PageListTermsTargets begin count=1
 20: 00.05 00.04 PageIndexGrep begin
 21: 00.08 00.07 PageIndexGrep end
 22: 00.08 00.07 PageListTermsTargets end count=1
 23: 00.08 00.07 PageListSort pre ret=4 order=name
 24: 00.08 00.07 MakePageList items count=1, filters=PageListTermsTargets
 25: 00.08 00.07 MakePageList post count=1, readc=1
 26: 00.08 00.07 PageListSort begin
 27: 00.08 00.07 PageListSort sort
 28: 00.08 00.07 PageListSort end
 29: 00.08 00.07 MakePageList end
 30: 00.08 00.07 FPLTemplate: FPLTemplatePmWikiOrg
 31: 00.08 00.07 MarkupToHTML begin
 32: 00.08 00.07 MarkupToHTML end
 33: 00.08 00.07 FPLTemplate: FPLTemplateSliceList
 34: 00.08 00.07 FPLTemplate: FPLTemplateFormat
 35: 00.08 00.07 MarkupToHTML begin
 36: 00.08 00.07 MarkupToHTML end
 37: 00.08 00.07 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
 38: 00.08 00.07 FPLTemplate: Chain end
 39: 00.08 00.07 MarkupToHTML end
 40: 00.08 00.07 MarkupToHTML begin
 41: 00.08 00.07 FPLTemplate: Chain begin
 42: 00.08 00.07 FPLTemplate: FPLTemplateLoad
 43: 00.08 00.07 FPLTemplate: FPLTemplateDefaults
 44: 00.08 00.07 FPLTemplate: FPLTemplatePageList
 45: 00.08 00.07 MakePageList pre
 46: 00.08 00.07 PageListSources begin
 47: 00.08 00.07 PageStore::ls begin wiki.d/{$FullName}
 48: 00.09 00.08 PageStore::ls merge wiki.d/{$FullName}
 49: 00.09 00.08 PageStore::ls end wiki.d/{$FullName}
 50: 00.09 00.08 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
 51: 00.09 00.08 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
 52: 00.09 00.08 PageStore::ls end $FarmD/wikilib.d/{$FullName}
 53: 00.09 00.08 PageListSources end count=1
 54: 00.09 00.08 PageListTermsTargets begin count=1
 55: 00.09 00.08 PageIndexGrep begin
 56: 00.12 00.10 PageIndexGrep end
 57: 00.12 00.10 PageListTermsTargets end count=0
 58: 00.12 00.10 PageListSort pre ret=4 order=name
 59: 00.12 00.10 MakePageList items count=0, filters=PageListTermsTargets
 60: 00.12 00.10 MakePageList post count=0, readc=0
 61: 00.12 00.10 PageListSort begin
 62: 00.12 00.10 PageListSort sort
 63: 00.12 00.10 PageListSort end
 64: 00.12 00.10 MakePageList end
 65: 00.12 00.10 FPLTemplate: FPLTemplatePmWikiOrg
 66: 00.12 00.10 MarkupToHTML begin
 67: 00.12 00.11 MarkupToHTML end
 68: 00.12 00.11 FPLTemplate: FPLTemplateSliceList
 69: 00.12 00.11 FPLTemplate: FPLTemplateFormat
 70: 00.12 00.11 MarkupToHTML begin
 71: 00.12 00.11 MarkupToHTML end
 72: 00.12 00.11 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
 73: 00.12 00.11 FPLTemplate: Chain end
 74: 00.12 00.11 MarkupToHTML end
 75: 00.12 00.11 MarkupToHTML begin
 76: 00.13 00.11 FPLTemplate: Chain begin
 77: 00.13 00.11 FPLTemplate: FPLTemplateLoad
 78: 00.13 00.11 FPLTemplate: FPLTemplateDefaults
 79: 00.13 00.11 FPLTemplate: FPLTemplatePageList
 80: 00.13 00.11 MakePageList pre
 81: 00.13 00.11 PageListSources begin
 82: 00.13 00.11 PageStore::ls begin wiki.d/{$FullName}
 83: 00.13 00.11 PageStore::ls merge wiki.d/{$FullName}
 84: 00.13 00.11 PageStore::ls end wiki.d/{$FullName}
 85: 00.13 00.11 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
 86: 00.13 00.11 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
 87: 00.13 00.11 PageStore::ls end $FarmD/wikilib.d/{$FullName}
 88: 00.13 00.11 PageListSources end count=1
 89: 00.13 00.11 PageListTermsTargets begin count=1
 90: 00.13 00.11 PageIndexGrep begin
 91: 00.16 00.14 PageIndexGrep end
 92: 00.16 00.14 PageListTermsTargets end count=1
 93: 00.16 00.14 PageListSort pre ret=4 order=name
 94: 00.16 00.14 MakePageList items count=1, filters=PageListTermsTargets
 95: 00.16 00.14 MakePageList post count=1, readc=1
 96: 00.16 00.14 PageListSort begin
 97: 00.16 00.14 PageListSort sort
 98: 00.16 00.14 PageListSort end
 99: 00.16 00.14 MakePageList end
100: 00.16 00.14 FPLTemplate: FPLTemplatePmWikiOrg
101: 00.16 00.14 MarkupToHTML begin
102: 00.16 00.14 MarkupToHTML end
103: 00.16 00.14 FPLTemplate: FPLTemplateSliceList
104: 00.16 00.14 FPLTemplate: FPLTemplateFormat
105: 00.16 00.14 MarkupToHTML begin
106: 00.17 00.14 MarkupToHTML end
107: 00.17 00.14 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
108: 00.17 00.14 FPLTemplate: Chain end
109: 00.17 00.14 MarkupToHTML end
110: 00.17 00.15 MarkupToHTML end
111: 00.17 00.15 MarkupToHTML begin
112: 00.18 00.16 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
113: 00.18 00.16 ReadApprovedUrls SiteAdmin.ApprovedUrls end
114: 00.19 00.16 MarkupToHTML end
115: 00.19 00.16 MarkupToHTML begin
116: 00.19 00.17 MarkupToHTML end
117: 00.20 00.17 now
Peak memory: 4,102,008 bytes