Difference between revisions of "Issue:Subpage listings"

From FollowTheScore
Jump to: navigation, search
(New page: {{Issue |Type = Change Request |Extension = DPL |Version = ? |Description = Feature request: selection parameters and format variable for subpages |Status = open ...)
 
 
Line 44: Line 44:
  
 
== Reply ==
 
== Reply ==
 +
Why don´tyou use titlematch and replaceintitle?
 +
See the source of this text!
 +
 +
<dpl>
 +
titlematch=Abc/%
 +
</dpl>
 +
----
 +
<dpl>
 +
titlematch=Abc/%
 +
replaceintitle=/Abc./,
 +
</dpl>
 +
:[[User:Gero|Gero]] 21:55, 1 April 2008 (CEST)

Latest revision as of 20:55, 1 April 2008

Description: Feature request: selection parameters and format variable for subpages
Extension / Version: DPL   /   ?
Type / Status: Change Request   /   open

Problem

We need to list the subpages of certain pages so that if you have a group of subpages to a page Marx one would get the list:

  • Marx/Groucho
  • Marx/Gummo
  • Marx/Zeppo
  • Marx/Chico
  • Marx/Harpo

from a request like

<dpl>
  subpageof=Marx
</dpl>

and the list

  • Groucho
  • Gummo
  • Zeppo
  • Chico
  • Harpo

from a request like

<dpl>
  subpageof=Marx
  subpagetitleonly=1
</dpl>

And of course also a format parameter %SUBPAGE% which will produce Groucho etc.

Reply

Why don´tyou use titlematch and replaceintitle? See the source of this text!


Gero 21:55, 1 April 2008 (CEST)