PagelistDefaults

testing pagelist using template defaults

fmt=#withdefaults

[[#withdefaults]]
(:template defaults case="???" group={$Group} name=Page*:)
(:template first:)
Test case: {$$case} (group={$$group} name={$$name})
(:template each:)
* @@[={=$FullName}=]@@="`{=$FullName}"
(:template last:)
(done)
[[#withdefaultsend]]
work as expected
(:pagelist group=Cookbook fmt=#withdefaults count=5 case="overriding group":)

(:pagelist group={$Group} name=Inc* fmt=#withdefaults count=5 case="overriding name / reusing group":)

Test case: overriding group (group=Cookbook name=Page*)

  • {=$FullName}="Cookbook.PageAction"
  • {=$FullName}="Cookbook.PageAction-IconPack?"
  • {=$FullName}="Cookbook.PageAction-IconPack?-Talk"
  • {=$FullName}="Cookbook.PageAction-IconPack?-Users"
  • {=$FullName}="Cookbook.PageActions"

(done)

Test case: overriding name / reusing group (group=Test name=Inc*)

  • {=$FullName}="`Test.Include"
  • {=$FullName}="`Test.Include2"
  • {=$FullName}="Test.IncludeAll"
  • {=$FullName}="Test.IncludeAndAnchor"
  • {=$FullName}="Test.IncludeBugA"

(done)

overriding name only
(:pagelist name=Inc* fmt=#withdefaults count=5 case="overriding name":)

Test case: overriding name (group=Test name=Inc*)

  • {=$FullName}="`Test.Include"
  • {=$FullName}="`Test.Include2"
  • {=$FullName}="Test.IncludeAll"
  • {=$FullName}="Test.IncludeAndAnchor"
  • {=$FullName}="Test.IncludeBugA"

(done)

using all defaults
(:pagelist fmt=#withdefaults count=5 case="using defaults":)

Test case: using defaults (group=Test name=Page*)

  • {=$FullName}="`Test.Page-name-with-hyphens"
  • {=$FullName}="Test.PageCount"
  • {=$FullName}="Test.PageExists"
  • {=$FullName}="Test.PageIndex"
  • {=$FullName}="`Test.Pagelist"

(done)

null name
(:pagelist name= fmt=#withdefaults count=5 case="null name":)

Test case: null name (group=Test name=Page*)

  • {=$FullName}="Test.PageListA"
  • {=$FullName}="Test.PagelistAcrossGroups"
  • {=$FullName}="Test.PageListAnchors"
  • {=$FullName}="Test.PageListB"
  • {=$FullName}="Test.PagelistByCategory"

(done)

null group
(:pagelist group= fmt=#withdefaults count=5 case="null group":)

Test case: null group (group=Test name=Page*)

  • {=$FullName}="`Test.Pagelist"
  • {=$FullName}="Test.PageListA"
  • {=$FullName}="Test.PagelistAcrossGroups"
  • {=$FullName}="Test.PageListB"
  • {=$FullName}="Test.PagelistBug1"

(done)

empty name
(:pagelist name="" fmt=#withdefaults count=5 case="empty name":)

Test case: empty name (group=Test name=)

  • {=$FullName}="`Test.00962"
  • {=$FullName}="`Test.01295"
  • {=$FullName}="`Test.01300"
  • {=$FullName}="`Test.12Over4"
  • {=$FullName}="`Test.2003Titlespaced"

(done)

empty group
(:pagelist group="" fmt=#withdefaults count=5 case="empty group":)

Test case: empty group (group= name=Page*)

  • {=$FullName}="Category.PageDirectives"
  • {=$FullName}="Category.PageHandling"
  • {=$FullName}="Category.PageList"
  • {=$FullName}="`Category.Pagelist"
  • {=$FullName}="Category.PageLists"

(done)

default pagelist
(:pagelist fmt=#withdefaults count=5:)

Test case: ??? (group=Test name=Page*)

  • {=$FullName}="`Test.Page-name-with-hyphens"
  • {=$FullName}="Test.PageCount"
  • {=$FullName}="Test.PageExists"
  • {=$FullName}="Test.PageIndex"
  • {=$FullName}="`Test.Pagelist"

(done)

  0: 00.00 00.00 config start
  1: 00.01 00.01 config end
  2: 00.20 00.20 MarkupToHTML begin
  3: 00.21 00.20 MarkupToHTML begin
  4: 00.21 00.21 FPLTemplate: Chain begin
  5: 00.21 00.21 FPLTemplate: FPLTemplateLoad
  6: 00.21 00.21 FPLTemplate: FPLTemplateDefaults
  7: 00.21 00.21 FPLTemplate: FPLTemplatePageList
  8: 00.21 00.21 MakePageList pre
  9: 00.21 00.21 PageListSources begin
 10: 00.21 00.21 PageStore::ls begin wiki.d/{$FullName}
 11: 00.22 00.21 PageStore::ls merge wiki.d/{$FullName}
 12: 00.22 00.22 PageStore::ls end wiki.d/{$FullName}
 13: 00.22 00.22 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
 14: 00.22 00.22 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
 15: 00.22 00.22 PageStore::ls end $FarmD/wikilib.d/{$FullName}
 16: 00.22 00.22 PageListSources end count=67
 17: 00.22 00.22 PageListSort pre ret=4 order=name
 18: 00.22 00.22 MakePageList items count=67, filters=
 19: 00.22 00.22 MakePageList post count=67, readc=0
 20: 00.22 00.22 PageListSort begin
 21: 00.22 00.22 PageListSort sort
 22: 00.22 00.22 PageListSort end
 23: 00.22 00.22 MakePageList end
 24: 00.22 00.22 FPLTemplate: FPLTemplatePmWikiOrg
 25: 00.22 00.22 MarkupToHTML begin
 26: 00.22 00.22 MarkupToHTML end
 27: 00.22 00.22 FPLTemplate: FPLTemplateSliceList
 28: 00.22 00.22 FPLTemplate: FPLTemplateFormat
 29: 00.22 00.22 MarkupToHTML begin
 30: 00.23 00.22 MarkupToHTML end
 31: 00.23 00.22 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
 32: 00.23 00.22 FPLTemplate: Chain end
 33: 00.23 00.22 FPLTemplate: Chain begin
 34: 00.23 00.22 FPLTemplate: FPLTemplateLoad
 35: 00.23 00.22 FPLTemplate: FPLTemplateDefaults
 36: 00.23 00.22 FPLTemplate: FPLTemplatePageList
 37: 00.23 00.22 MakePageList pre
 38: 00.23 00.22 PageListSources begin
 39: 00.23 00.22 PageStore::ls begin wiki.d/{$FullName}
 40: 00.23 00.23 PageStore::ls merge wiki.d/{$FullName}
 41: 00.24 00.23 PageStore::ls end wiki.d/{$FullName}
 42: 00.24 00.23 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
 43: 00.24 00.23 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
 44: 00.24 00.23 PageStore::ls end $FarmD/wikilib.d/{$FullName}
 45: 00.24 00.23 PageListSources end count=53
 46: 00.24 00.23 PageListSort pre ret=4 order=name
 47: 00.24 00.23 MakePageList items count=53, filters=
 48: 00.24 00.23 MakePageList post count=53, readc=0
 49: 00.24 00.23 PageListSort begin
 50: 00.24 00.23 PageListSort sort
 51: 00.24 00.23 PageListSort end
 52: 00.24 00.23 MakePageList end
 53: 00.24 00.23 FPLTemplate: FPLTemplatePmWikiOrg
 54: 00.24 00.23 MarkupToHTML begin
 55: 00.24 00.23 MarkupToHTML end
 56: 00.24 00.23 FPLTemplate: FPLTemplateSliceList
 57: 00.24 00.23 FPLTemplate: FPLTemplateFormat
 58: 00.24 00.23 MarkupToHTML begin
 59: 00.24 00.23 MarkupToHTML end
 60: 00.24 00.23 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
 61: 00.24 00.23 FPLTemplate: Chain end
 62: 00.24 00.24 MarkupToHTML end
 63: 00.24 00.24 MarkupToHTML begin
 64: 00.24 00.24 FPLTemplate: Chain begin
 65: 00.24 00.24 FPLTemplate: FPLTemplateLoad
 66: 00.24 00.24 FPLTemplate: FPLTemplateDefaults
 67: 00.24 00.24 FPLTemplate: FPLTemplatePageList
 68: 00.24 00.24 MakePageList pre
 69: 00.24 00.24 PageListSources begin
 70: 00.24 00.24 PageStore::ls begin wiki.d/{$FullName}
 71: 00.25 00.24 PageStore::ls merge wiki.d/{$FullName}
 72: 00.25 00.24 PageStore::ls end wiki.d/{$FullName}
 73: 00.25 00.24 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
 74: 00.25 00.24 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
 75: 00.25 00.24 PageStore::ls end $FarmD/wikilib.d/{$FullName}
 76: 00.25 00.24 PageListSources end count=53
 77: 00.25 00.24 PageListSort pre ret=4 order=name
 78: 00.25 00.24 MakePageList items count=53, filters=
 79: 00.25 00.24 MakePageList post count=53, readc=0
 80: 00.25 00.24 PageListSort begin
 81: 00.25 00.24 PageListSort sort
 82: 00.25 00.24 PageListSort end
 83: 00.25 00.24 MakePageList end
 84: 00.25 00.24 FPLTemplate: FPLTemplatePmWikiOrg
 85: 00.25 00.24 MarkupToHTML begin
 86: 00.25 00.24 MarkupToHTML end
 87: 00.25 00.24 FPLTemplate: FPLTemplateSliceList
 88: 00.25 00.24 FPLTemplate: FPLTemplateFormat
 89: 00.25 00.24 MarkupToHTML begin
 90: 00.26 00.25 MarkupToHTML end
 91: 00.26 00.25 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
 92: 00.26 00.25 FPLTemplate: Chain end
 93: 00.26 00.25 MarkupToHTML end
 94: 00.26 00.25 MarkupToHTML begin
 95: 00.26 00.25 FPLTemplate: Chain begin
 96: 00.26 00.25 FPLTemplate: FPLTemplateLoad
 97: 00.26 00.25 FPLTemplate: FPLTemplateDefaults
 98: 00.26 00.25 FPLTemplate: FPLTemplatePageList
 99: 00.26 00.25 MakePageList pre
100: 00.26 00.25 PageListSources begin
101: 00.26 00.25 PageStore::ls begin wiki.d/{$FullName}
102: 00.26 00.25 PageStore::ls merge wiki.d/{$FullName}
103: 00.27 00.25 PageStore::ls end wiki.d/{$FullName}
104: 00.27 00.25 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
105: 00.27 00.25 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
106: 00.27 00.25 PageStore::ls end $FarmD/wikilib.d/{$FullName}
107: 00.27 00.25 PageListSources end count=92
108: 00.27 00.25 PageListSort pre ret=4 order=name
109: 00.27 00.25 MakePageList items count=92, filters=
110: 00.27 00.25 MakePageList post count=92, readc=0
111: 00.27 00.25 PageListSort begin
112: 00.27 00.25 PageListSort sort
113: 00.27 00.25 PageListSort end
114: 00.27 00.25 MakePageList end
115: 00.27 00.25 FPLTemplate: FPLTemplatePmWikiOrg
116: 00.27 00.25 MarkupToHTML begin
117: 00.27 00.25 MarkupToHTML end
118: 00.27 00.25 FPLTemplate: FPLTemplateSliceList
119: 00.27 00.25 FPLTemplate: FPLTemplateFormat
120: 00.27 00.25 MarkupToHTML begin
121: 00.27 00.26 MarkupToHTML end
122: 00.27 00.26 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
123: 00.27 00.26 FPLTemplate: Chain end
124: 00.27 00.26 MarkupToHTML end
125: 00.27 00.26 MarkupToHTML begin
126: 00.27 00.26 FPLTemplate: Chain begin
127: 00.27 00.26 FPLTemplate: FPLTemplateLoad
128: 00.27 00.26 FPLTemplate: FPLTemplateDefaults
129: 00.27 00.26 FPLTemplate: FPLTemplatePageList
130: 00.27 00.26 MakePageList pre
131: 00.27 00.26 PageListSources begin
132: 00.27 00.26 PageStore::ls begin wiki.d/{$FullName}
133: 00.28 00.26 PageStore::ls merge wiki.d/{$FullName}
134: 00.28 00.27 PageStore::ls end wiki.d/{$FullName}
135: 00.28 00.27 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
136: 00.28 00.27 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
137: 00.28 00.27 PageStore::ls end $FarmD/wikilib.d/{$FullName}
138: 00.28 00.27 PageListSources end count=92
139: 00.28 00.27 PageListTermsTargets begin count=92
140: 00.28 00.27 PageIndexGrep begin
141: 00.30 00.29 PageIndexGrep end
142: 00.30 00.29 PageListTermsTargets end count=68
143: 00.31 00.29 PageListSort pre ret=4 order=name
144: 00.31 00.29 MakePageList items count=68, filters=PageListTermsTargets
145: 00.31 00.29 MakePageList post count=30, readc=68
146: 00.31 00.29 PageListSort begin
147: 00.31 00.29 PageListSort sort
148: 00.31 00.29 PageListSort end
149: 00.31 00.29 MakePageList end
150: 00.31 00.29 FPLTemplate: FPLTemplatePmWikiOrg
151: 00.31 00.29 MarkupToHTML begin
152: 00.31 00.30 MarkupToHTML end
153: 00.31 00.30 FPLTemplate: FPLTemplateSliceList
154: 00.31 00.30 FPLTemplate: FPLTemplateFormat
155: 00.32 00.30 MarkupToHTML begin
156: 00.32 00.30 MarkupToHTML end
157: 00.32 00.30 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
158: 00.32 00.30 FPLTemplate: Chain end
159: 00.32 00.30 MarkupToHTML end
160: 00.32 00.30 MarkupToHTML begin
161: 00.32 00.30 FPLTemplate: Chain begin
162: 00.32 00.30 FPLTemplate: FPLTemplateLoad
163: 00.32 00.30 FPLTemplate: FPLTemplateDefaults
164: 00.32 00.30 FPLTemplate: FPLTemplatePageList
165: 00.32 00.30 MakePageList pre
166: 00.32 00.30 PageListSources begin
167: 00.32 00.30 PageStore::ls begin wiki.d/{$FullName}
168: 00.33 00.30 PageStore::ls merge wiki.d/{$FullName}
169: 00.33 00.31 PageStore::ls end wiki.d/{$FullName}
170: 00.33 00.31 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
171: 00.33 00.31 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
172: 00.33 00.31 PageStore::ls end $FarmD/wikilib.d/{$FullName}
173: 00.33 00.31 PageListSources end count=92
174: 00.33 00.31 PageListTermsTargets begin count=92
175: 00.33 00.31 PageIndexGrep begin
176: 00.35 00.32 PageIndexGrep end
177: 00.35 00.32 PageListTermsTargets end count=49
178: 00.35 00.32 PageListSort pre ret=4 order=name
179: 00.35 00.32 MakePageList items count=49, filters=PageListTermsTargets
180: 00.36 00.33 MakePageList post count=40, readc=49
181: 00.36 00.33 PageListSort begin
182: 00.36 00.33 PageListSort sort
183: 00.36 00.33 PageListSort end
184: 00.36 00.33 MakePageList end
185: 00.36 00.33 FPLTemplate: FPLTemplatePmWikiOrg
186: 00.36 00.33 MarkupToHTML begin
187: 00.36 00.33 MarkupToHTML end
188: 00.36 00.33 FPLTemplate: FPLTemplateSliceList
189: 00.36 00.33 FPLTemplate: FPLTemplateFormat
190: 00.36 00.33 MarkupToHTML begin
191: 00.36 00.33 MarkupToHTML end
192: 00.36 00.33 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
193: 00.36 00.33 FPLTemplate: Chain end
194: 00.36 00.33 MarkupToHTML end
195: 00.36 00.33 MarkupToHTML begin
196: 00.36 00.33 FPLTemplate: Chain begin
197: 00.36 00.33 FPLTemplate: FPLTemplateLoad
198: 00.36 00.33 FPLTemplate: FPLTemplateDefaults
199: 00.36 00.33 FPLTemplate: FPLTemplatePageList
200: 00.36 00.33 MakePageList pre
201: 00.36 00.33 PageListSources begin
202: 00.36 00.33 PageStore::ls begin wiki.d/{$FullName}
203: 00.37 00.34 PageStore::ls merge wiki.d/{$FullName}
204: 00.37 00.34 PageStore::ls end wiki.d/{$FullName}
205: 00.37 00.34 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
206: 00.37 00.34 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
207: 00.37 00.34 PageStore::ls end $FarmD/wikilib.d/{$FullName}
208: 00.37 00.34 PageListSources end count=1134
209: 00.37 00.34 PageListSort pre ret=4 order=name
210: 00.37 00.34 MakePageList items count=1134, filters=
211: 00.37 00.34 MakePageList post count=1134, readc=0
212: 00.37 00.34 PageListSort begin
213: 00.37 00.34 PageListSort sort
214: 00.38 00.35 PageListSort end
215: 00.38 00.35 MakePageList end
216: 00.38 00.35 FPLTemplate: FPLTemplatePmWikiOrg
217: 00.38 00.35 MarkupToHTML begin
218: 00.38 00.35 MarkupToHTML end
219: 00.38 00.35 FPLTemplate: FPLTemplateSliceList
220: 00.38 00.35 FPLTemplate: FPLTemplateFormat
221: 00.39 00.35 MarkupToHTML begin
222: 00.39 00.36 MarkupToHTML end
223: 00.39 00.36 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
224: 00.39 00.36 FPLTemplate: Chain end
225: 00.39 00.36 MarkupToHTML end
226: 00.39 00.36 MarkupToHTML begin
227: 00.39 00.36 FPLTemplate: Chain begin
228: 00.39 00.36 FPLTemplate: FPLTemplateLoad
229: 00.39 00.36 FPLTemplate: FPLTemplateDefaults
230: 00.39 00.36 FPLTemplate: FPLTemplatePageList
231: 00.39 00.36 MakePageList pre
232: 00.39 00.36 PageListSources begin
233: 00.39 00.36 PageStore::ls begin wiki.d/{$FullName}
234: 00.40 00.36 PageStore::ls merge wiki.d/{$FullName}
235: 00.40 00.37 PageStore::ls end wiki.d/{$FullName}
236: 00.40 00.37 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
237: 00.40 00.37 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
238: 00.40 00.37 PageStore::ls end $FarmD/wikilib.d/{$FullName}
239: 00.40 00.37 PageListSources end count=252
240: 00.40 00.37 PageListSort pre ret=4 order=name
241: 00.40 00.37 MakePageList items count=252, filters=
242: 00.40 00.37 MakePageList post count=252, readc=0
243: 00.40 00.37 PageListSort begin
244: 00.40 00.37 PageListSort sort
245: 00.40 00.37 PageListSort end
246: 00.40 00.37 MakePageList end
247: 00.40 00.37 FPLTemplate: FPLTemplatePmWikiOrg
248: 00.40 00.37 MarkupToHTML begin
249: 00.40 00.37 MarkupToHTML end
250: 00.40 00.37 FPLTemplate: FPLTemplateSliceList
251: 00.40 00.37 FPLTemplate: FPLTemplateFormat
252: 00.40 00.37 MarkupToHTML begin
253: 00.41 00.37 MarkupToHTML end
254: 00.41 00.37 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
255: 00.41 00.37 FPLTemplate: Chain end
256: 00.41 00.37 MarkupToHTML end
257: 00.41 00.37 MarkupToHTML begin
258: 00.41 00.37 FPLTemplate: Chain begin
259: 00.41 00.37 FPLTemplate: FPLTemplateLoad
260: 00.41 00.37 FPLTemplate: FPLTemplateDefaults
261: 00.41 00.37 FPLTemplate: FPLTemplatePageList
262: 00.41 00.37 MakePageList pre
263: 00.41 00.37 PageListSources begin
264: 00.41 00.37 PageStore::ls begin wiki.d/{$FullName}
265: 00.41 00.38 PageStore::ls merge wiki.d/{$FullName}
266: 00.41 00.38 PageStore::ls end wiki.d/{$FullName}
267: 00.41 00.38 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
268: 00.41 00.38 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
269: 00.41 00.38 PageStore::ls end $FarmD/wikilib.d/{$FullName}
270: 00.41 00.38 PageListSources end count=92
271: 00.41 00.38 PageListSort pre ret=4 order=name
272: 00.41 00.38 MakePageList items count=92, filters=
273: 00.41 00.38 MakePageList post count=92, readc=0
274: 00.41 00.38 PageListSort begin
275: 00.41 00.38 PageListSort sort
276: 00.42 00.38 PageListSort end
277: 00.42 00.38 MakePageList end
278: 00.42 00.38 FPLTemplate: FPLTemplatePmWikiOrg
279: 00.42 00.38 MarkupToHTML begin
280: 00.42 00.38 MarkupToHTML end
281: 00.42 00.38 FPLTemplate: FPLTemplateSliceList
282: 00.42 00.38 FPLTemplate: FPLTemplateFormat
283: 00.42 00.38 MarkupToHTML begin
284: 00.42 00.39 MarkupToHTML end
285: 00.42 00.39 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
286: 00.42 00.39 FPLTemplate: Chain end
287: 00.42 00.39 MarkupToHTML end
288: 00.43 00.39 MarkupToHTML end
289: 00.43 00.40 MarkupToHTML begin
290: 00.44 00.40 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
291: 00.44 00.41 ReadApprovedUrls SiteAdmin.ApprovedUrls end
292: 00.45 00.41 MarkupToHTML end
293: 00.45 00.41 MarkupToHTML begin
294: 00.45 00.42 MarkupToHTML end
295: 00.45 00.42 now
Peak memory: 5,513,504 bytes