01211: Support Group/ in pagelist name parameter

Summary: Support Group/ in pagelist name parameter
Created: 2010-06-28 22:11
Status: Closed
Category: Feature
From: simon
Assigned:
Priority: 3
Version: 2.2
OS: all

Description: Support the following use case in pagelists. Note that this is an extension of this syntax already in use in other contexts in PmWiki

(:pagelist name=PmWiki/,PITS/,Cookbook/ :)

No results found.

You can already use either name=PmWiki.*,PITS.* or group=PmWiki,PITS to achieve what you want. --Petko June 29, 2010, at 03:01 AM

(:pagelist name=PmWiki.*,PITS.*,Cookbook.* count=5:)
Cookbook /
AbbreviationPlurals  Automatically format text like CCDs as a plural abbreviation, instead of as a wikiword.
AbbreviationPlurals-Talk  Talk page for Abbreviation Plurals.
ABCHoverIndex  displays a pagelist as an alphabetic hover menu, sorted by title (stable)
ABCHoverIndex-Talk  Talk page for ABCHoverIndex.
ABCHoverIndex-Users  User notes for the ABCHoverIndex recipe.

Go to page:  1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  34  35  36  37  38  39  40  41  42 

Only search in group:  Cookbook (2318), PITS (1530), PmWiki (314)

(:pagelist group=PmWiki,PITS,Cookbook count=5:)
Cookbook /
AbbreviationPlurals  Automatically format text like CCDs as a plural abbreviation, instead of as a wikiword.
AbbreviationPlurals-Talk  Talk page for Abbreviation Plurals.
ABCHoverIndex  displays a pagelist as an alphabetic hover menu, sorted by title (stable)
ABCHoverIndex-Talk  Talk page for ABCHoverIndex.
ABCHoverIndex-Users  User notes for the ABCHoverIndex recipe.

Go to page:  1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  34  35  36  37  38  39  40  41  42 

Only search in group:  Cookbook (2318), PITS (1530), PmWiki (314)

The output I expect is

See [[PmWiki/BasicVariables#DefaultPage]]
(:pagelist name=PmWiki/{$DefaultPage},PITS/{$DefaultPage},Cookbook/{$DefaultPage} :)

No results found.

cf

[[PmWiki/]] 
[[PITS/]]
[[Cookbook/]]

PmWiki PITS Cookbook

Use DefaultName instead of DefaultPage:

See [[PmWiki/BasicVariables#DefaultPage]]
(:pagelist name=PmWiki/{$DefaultName},PITS/{$DefaultName},Cookbook/{$DefaultName} :)

{$DefaultName} is not always the group home page, often it is Group.Group. What is desired here could be done with a special template, as below. Also, some day we should have a better optimized (faster) pagelist with the parameter list=grouphomes. --Petko June 30, 2010, at 06:11 PM

[[#grouphomes]]
(:template first {=$Group}:)
[[{=$Group}/]]
[[#grouphomesend]]
(:pagelist group=PmWiki,PmWikiBg,Main,PITS,Cookbook fmt=#grouphomes:)