PagelistAcrossGroups

Test that pagelist output sorts page names correctly when multiple groups included

doesn't work
>>comment<<
[[#pagelistacrossgroups]]
(:template defaults order=-name list=normal:)
(:template each:)
* {=$Namespaced} [-({=$Groupspaced})-]
[[#pagelistacrossgroupsend]]
>>font-size:smaller<<

(:pagelist name=a*,b*,-template*,-random,-homepage group=PmWiki,Cookbook count=20 fmt=#pagelistacrossgroups:)

(:template defaults order=-name list=normal:) (:template each:)

  • {=$Namespaced} ({=$Groupspaced})

  • Block Markup-Talk (Pm Wiki)
  • Block Markup (Pm Wiki)
  • Blocklist-Talk (Pm Wiki)
  • Blocklist (Pm Wiki)
  • Basic Variables (Pm Wiki)
  • Basic Editing-Talk (Pm Wiki)
  • Basic Editing (Pm Wiki)
  • Backup And Restore (Pm Wiki)
  • Available Actions-Talk (Pm Wiki)
  • Available Actions (Pm Wiki)
  • Auth User-Talk (Pm Wiki)
  • Auth User (Pm Wiki)
  • Author Tracking-Talk (Pm Wiki)
  • Authoring Philosophy (Pm Wiki)
  • Audiences (Pm Wiki)
  • AQ (Pm Wiki)
  • Analyze Results (Pm Wiki)
  • Access Keys-Talk (Pm Wiki)
  • Access Keys (Pm Wiki)
  • Button Markup (Cookbook)
doesn't work
>>comment<<
[[#pagelistacrossgroups2]]
(:template defaults:)
(:template each:)
* {=$Namespaced} [-({=$Groupspaced})-]
[[#pagelistacrossgroups2end]]
>>font-size:smaller<<

(:pagelist name=a*,b*,-template*,-random,-homepage group=PmWiki,Cookbook count=20 fmt=#pagelistacrossgroups2 order=-name list=normal:)

(:template defaults:) (:template each:)

  • {=$Namespaced} ({=$Groupspaced})

  • Block Markup-Talk (Pm Wiki)
  • Block Markup (Pm Wiki)
  • Blocklist-Talk (Pm Wiki)
  • Blocklist (Pm Wiki)
  • Basic Variables (Pm Wiki)
  • Basic Editing-Talk (Pm Wiki)
  • Basic Editing (Pm Wiki)
  • Backup And Restore (Pm Wiki)
  • Available Actions-Talk (Pm Wiki)
  • Available Actions (Pm Wiki)
  • Auth User-Talk (Pm Wiki)
  • Auth User (Pm Wiki)
  • Author Tracking-Talk (Pm Wiki)
  • Authoring Philosophy (Pm Wiki)
  • Audiences (Pm Wiki)
  • AQ (Pm Wiki)
  • Analyze Results (Pm Wiki)
  • Access Keys-Talk (Pm Wiki)
  • Access Keys (Pm Wiki)
  • Button Markup (Cookbook)

works
>>comment<<
[[#pagelistacrossgroups3]]
(:template defaults order=-$Name list=normal:)
(:template each:)
* {=$Namespaced} [-({=$Groupspaced})-]
[[#pagelistacrossgroups3end]]
>>font-size:smaller<<

(:pagelist name=a*,b*,-template*,-random,-homepage group=PmWiki,Cookbook count=20 fmt=#pagelistacrossgroups3:)

(:template defaults order=-$Name list=normal:) (:template each:)

  • {=$Namespaced} ({=$Groupspaced})

  • Button Markup (Cookbook)
  • Buton Link-Talk (Cookbook)
  • Buton Link (Cookbook)
  • Bundle 4 Blog (Cookbook)
  • Bundle-Talk (Cookbook)
  • Bundle (Cookbook)
  • Bulletin (Cookbook)
  • Bulk Replace-Talk (Cookbook)
  • Bulk Replace (Cookbook)
  • Build Forms-Talk (Cookbook)
  • Build Forms (Cookbook)
  • Break Page List-Talk (Cookbook)
  • Break Page List (Cookbook)
  • Break Page-Users (Cookbook)
  • Break Page-Talk (Cookbook)
  • Break Page (Cookbook)
  • Bootstrap Icons (Cookbook)
  • Booleansearchfilter (Cookbook)
  • Bookmarklet-Talk (Cookbook)
  • Bookmarklet (Cookbook)
works
>>font-size:smaller<<
(:pagelist name=a*,b*,-template*,-random,-homepage group=PmWiki,Cookbook count=20 fmt=#pagelistacrossgroups2 order=-$Name list=normal:)
  • Button Markup (Cookbook)
  • Buton Link-Talk (Cookbook)
  • Buton Link (Cookbook)
  • Bundle 4 Blog (Cookbook)
  • Bundle-Talk (Cookbook)
  • Bundle (Cookbook)
  • Bulletin (Cookbook)
  • Bulk Replace-Talk (Cookbook)
  • Bulk Replace (Cookbook)
  • Build Forms-Talk (Cookbook)
  • Build Forms (Cookbook)
  • Break Page List-Talk (Cookbook)
  • Break Page List (Cookbook)
  • Break Page-Users (Cookbook)
  • Break Page-Talk (Cookbook)
  • Break Page (Cookbook)
  • Bootstrap Icons (Cookbook)
  • Booleansearchfilter (Cookbook)
  • Bookmarklet-Talk (Cookbook)
  • Bookmarklet (Cookbook)
Array
(
    [post_max_size] => 64M
    [$_POST keys] => 
    [$_REQUEST keys] => n
    [$_SERVER] => Array
        (
            [CONTEXT_DOCUMENT_ROOT] => /home/pmwiki/public_html
            [CONTEXT_PREFIX] => 
            [DOCUMENT_ROOT] => /home/pmwiki/public_html
            [GATEWAY_INTERFACE] => CGI/1.1
            [HTTPS] => on
            [HTTP_ACCEPT] => */*
            [HTTP_ACCEPT_ENCODING] => gzip, br, zstd, deflate
            [HTTP_HOST] => www.pmwiki.org
            [HTTP_USER_AGENT] => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
            [HTTP_X_HTTPS] => 1
            [PATH] => /bin:/usr/bin
            [PHP_INI_SCAN_DIR] => /opt/cpanel/ea-php70/root/etc:/opt/cpanel/ea-php70/root/etc/php.d:.
            [QUERY_STRING] => n=Test%2fPagelistAcrossGroups
            [REDIRECT_HTTPS] => on
            [REDIRECT_QUERY_STRING] => n=Test%2fPagelistAcrossGroups
            [REDIRECT_SCRIPT_URI] => https://www.pmwiki.org/wiki/Test/PagelistAcrossGroups
            [REDIRECT_SCRIPT_URL] => /wiki/Test/PagelistAcrossGroups
            [REDIRECT_SSL_TLS_SNI] => www.pmwiki.org
            [REDIRECT_STATUS] => 200
            [REDIRECT_UNIQUE_ID] => afR9tP1OJBNEXI0ZydzBFgAAAME
            [REDIRECT_URL] => /wiki/Test/PagelistAcrossGroups
            [REMOTE_ADDR] => 216.73.216.25
            [REMOTE_PORT] => 7794
            [REQUEST_METHOD] => GET
            [REQUEST_SCHEME] => https
            [REQUEST_URI] => /wiki/Test/PagelistAcrossGroups
            [SCRIPT_FILENAME] => /home/pmwiki/public_html/index.php
            [SCRIPT_NAME] => /index.php
            [SCRIPT_URI] => https://www.pmwiki.org/wiki/Test/PagelistAcrossGroups
            [SCRIPT_URL] => /wiki/Test/PagelistAcrossGroups
            [SERVER_ADDR] => 23.254.203.248
            [SERVER_ADMIN] => webmaster@pmwiki.org
            [SERVER_NAME] => www.pmwiki.org
            [SERVER_PORT] => 443
            [SERVER_PROTOCOL] => HTTP/1.1
            [SERVER_SIGNATURE] => 
            [SERVER_SOFTWARE] => Apache
            [SSL_TLS_SNI] => www.pmwiki.org
            [TZ] => America/Los_Angeles
            [UNIQUE_ID] => afR9tP1OJBNEXI0ZydzBFgAAAME
            [PHP_SELF] => /index.php
            [REQUEST_TIME_FLOAT] => 1777630644.7446
            [REQUEST_TIME] => 1777630644
            [argv] => Array
                (
                    [0] => n=Test%2fPagelistAcrossGroups
                )

            [argc] => 1
        )

)
  0: 00.00 00.00 EnablePost = 1, keys=
  1: 00.00 00.00 config start
  2: 00.01 00.01 config end
  3: 00.04 00.03 MarkupToHTML begin
  4: 00.04 00.03 MarkupToHTML begin
  5: 00.05 00.04 FPLTemplate: Chain begin
  6: 00.05 00.04 FPLTemplate: FPLTemplateLoad
  7: 00.05 00.04 FPLTemplate: FPLTemplateDefaults
  8: 00.05 00.04 FPLTemplate: FPLTemplatePageList
  9: 00.05 00.04 MakePageList pre
 10: 00.05 00.04 PageListSources begin
 11: 00.05 00.04 PageStore::ls begin wiki.d/{$FullName}
 12: 00.05 00.04 PageStore::ls merge wiki.d/{$FullName}
 13: 00.06 00.05 PageStore::ls end wiki.d/{$FullName}
 14: 00.06 00.05 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
 15: 00.06 00.05 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
 16: 00.06 00.05 PageStore::ls end $FarmD/wikilib.d/{$FullName}
 17: 00.06 00.05 PageListSources end count=346
 18: 00.06 00.05 PageListSort pre ret=4 order=-name
 19: 00.06 00.05 MakePageList items count=346, filters=
 20: 00.07 00.05 MakePageList post count=346, readc=0
 21: 00.07 00.05 PageListSort begin
 22: 00.07 00.05 PageListSort sort
 23: 00.07 00.06 PageListSort end
 24: 00.07 00.06 MakePageList end
 25: 00.07 00.06 FPLTemplate: FPLTemplatePmWikiOrg
 26: 00.07 00.06 MarkupToHTML begin
 27: 00.07 00.06 MarkupToHTML end
 28: 00.07 00.06 FPLTemplate: FPLTemplateSliceList
 29: 00.07 00.06 FPLTemplate: FPLTemplateFormat
 30: 00.09 00.07 MarkupToHTML begin
 31: 00.10 00.08 MarkupToHTML end
 32: 00.10 00.08 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
 33: 00.10 00.08 FPLTemplate: Chain end
 34: 00.10 00.08 MarkupToHTML end
 35: 00.10 00.08 MarkupToHTML begin
 36: 00.10 00.08 FPLTemplate: Chain begin
 37: 00.10 00.08 FPLTemplate: FPLTemplateLoad
 38: 00.10 00.08 FPLTemplate: FPLTemplateDefaults
 39: 00.10 00.08 FPLTemplate: FPLTemplatePageList
 40: 00.10 00.08 MakePageList pre
 41: 00.10 00.08 PageListSources begin
 42: 00.10 00.08 PageStore::ls begin wiki.d/{$FullName}
 43: 00.10 00.09 PageStore::ls merge wiki.d/{$FullName}
 44: 00.11 00.09 PageStore::ls end wiki.d/{$FullName}
 45: 00.11 00.09 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
 46: 00.11 00.09 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
 47: 00.11 00.09 PageStore::ls end $FarmD/wikilib.d/{$FullName}
 48: 00.11 00.09 PageListSources end count=346
 49: 00.11 00.09 PageListSort pre ret=4 order=-name
 50: 00.11 00.09 MakePageList items count=346, filters=
 51: 00.11 00.10 MakePageList post count=346, readc=0
 52: 00.11 00.10 PageListSort begin
 53: 00.11 00.10 PageListSort sort
 54: 00.12 00.10 PageListSort end
 55: 00.12 00.10 MakePageList end
 56: 00.12 00.10 FPLTemplate: FPLTemplatePmWikiOrg
 57: 00.12 00.10 MarkupToHTML begin
 58: 00.12 00.10 MarkupToHTML end
 59: 00.12 00.10 FPLTemplate: FPLTemplateSliceList
 60: 00.12 00.10 FPLTemplate: FPLTemplateFormat
 61: 00.12 00.10 MarkupToHTML begin
 62: 00.14 00.12 MarkupToHTML end
 63: 00.14 00.12 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
 64: 00.14 00.12 FPLTemplate: Chain end
 65: 00.14 00.12 MarkupToHTML end
 66: 00.14 00.12 MarkupToHTML begin
 67: 00.14 00.12 FPLTemplate: Chain begin
 68: 00.14 00.12 FPLTemplate: FPLTemplateLoad
 69: 00.14 00.12 FPLTemplate: FPLTemplateDefaults
 70: 00.14 00.12 FPLTemplate: FPLTemplatePageList
 71: 00.14 00.12 MakePageList pre
 72: 00.14 00.12 PageListSources begin
 73: 00.14 00.12 PageStore::ls begin wiki.d/{$FullName}
 74: 00.16 00.13 PageStore::ls merge wiki.d/{$FullName}
 75: 00.17 00.13 PageStore::ls end wiki.d/{$FullName}
 76: 00.17 00.13 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
 77: 00.17 00.13 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
 78: 00.17 00.13 PageStore::ls end $FarmD/wikilib.d/{$FullName}
 79: 00.17 00.13 PageListSources end count=346
 80: 00.17 00.13 PageListSort pre ret=4 order=-$Name
 81: 00.17 00.13 MakePageList items count=346, filters=
 82: 00.17 00.14 MakePageList post count=346, readc=0
 83: 00.17 00.14 PageListSort begin
 84: 00.17 00.14 PageListSort sort
 85: 00.18 00.14 PageListSort end
 86: 00.18 00.14 MakePageList end
 87: 00.18 00.14 FPLTemplate: FPLTemplatePmWikiOrg
 88: 00.18 00.15 MarkupToHTML begin
 89: 00.18 00.15 MarkupToHTML end
 90: 00.18 00.15 FPLTemplate: FPLTemplateSliceList
 91: 00.18 00.15 FPLTemplate: FPLTemplateFormat
 92: 00.20 00.15 MarkupToHTML begin
 93: 00.20 00.16 MarkupToHTML end
 94: 00.20 00.16 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
 95: 00.20 00.16 FPLTemplate: Chain end
 96: 00.21 00.16 MarkupToHTML end
 97: 00.21 00.16 MarkupToHTML begin
 98: 00.21 00.16 FPLTemplate: Chain begin
 99: 00.21 00.16 FPLTemplate: FPLTemplateLoad
100: 00.21 00.16 FPLTemplate: FPLTemplateDefaults
101: 00.21 00.16 FPLTemplate: FPLTemplatePageList
102: 00.21 00.16 MakePageList pre
103: 00.21 00.16 PageListSources begin
104: 00.21 00.16 PageStore::ls begin wiki.d/{$FullName}
105: 00.22 00.17 PageStore::ls merge wiki.d/{$FullName}
106: 00.22 00.18 PageStore::ls end wiki.d/{$FullName}
107: 00.22 00.18 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
108: 00.22 00.18 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
109: 00.22 00.18 PageStore::ls end $FarmD/wikilib.d/{$FullName}
110: 00.22 00.18 PageListSources end count=346
111: 00.22 00.18 PageListSort pre ret=4 order=-$Name
112: 00.22 00.18 MakePageList items count=346, filters=
113: 00.22 00.18 MakePageList post count=346, readc=0
114: 00.22 00.18 PageListSort begin
115: 00.23 00.18 PageListSort sort
116: 00.23 00.18 PageListSort end
117: 00.23 00.18 MakePageList end
118: 00.23 00.18 FPLTemplate: FPLTemplatePmWikiOrg
119: 00.23 00.18 MarkupToHTML begin
120: 00.23 00.18 MarkupToHTML end
121: 00.23 00.18 FPLTemplate: FPLTemplateSliceList
122: 00.23 00.18 FPLTemplate: FPLTemplateFormat
123: 00.24 00.19 MarkupToHTML begin
124: 00.25 00.20 MarkupToHTML end
125: 00.25 00.20 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
126: 00.25 00.20 FPLTemplate: Chain end
127: 00.25 00.20 MarkupToHTML end
128: 00.26 00.21 MarkupToHTML end
129: 00.26 00.21 MarkupToHTML begin
130: 00.27 00.22 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
131: 00.27 00.22 ReadApprovedUrls SiteAdmin.ApprovedUrls end
132: 00.28 00.23 MarkupToHTML end
133: 00.28 00.23 MarkupToHTML begin
134: 00.29 00.24 MarkupToHTML end
135: 00.29 00.24 now
Peak memory: 5,540,184 bytes