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.PageNaming"

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