DPL:Manual - DPL Special Page with Parameters

From FollowTheScore
Revision as of 23:10, 19 July 2007 by Gero (talk | contribs) (New page: {{Type:Manual |section= Special Page with Parameters }} You can use Special:DynamicPageListSP with parameters, obtaining a link to an on-the-fly generated page. This is useful if you...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Template:Type:Manual

You can use Special:DynamicPageListSP with parameters, obtaining a link to an on-the-fly generated page. This is useful if you want to offer links to a large number of queries, but you want to save the effort of creating manually a page for each.

Example: Special:DynamicPageListSP/namespace=User


Clearly the result of this example could have been obtained in a much easier way with Special:Allpages/User:. The issue becomes interesting when providing a combination of parameters. Therefore DPL splits the parameter string into separate lines weherever it finds two consecutive &&; obviously this implies that the parameters must not contain two consecutive & characters.

  • Normally the user will see the query and will have the possibility to change it as he or she likes. If you add the parameter 'noeditbox' the edit form will be suppressed.

Example: Special:DynamicPageListSP/namespace=User&&titlematch=%o%&&noeditbox.