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