Difference between revisions of "DPL:Manual - DPL Special Page with Parameters"

From FollowTheScore
Jump to: navigation, search
(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...)
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Type:Manual
+
{{Type Manual
 
  |section= Special Page with Parameters
 
  |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 want to offer links to a large number of queries, but you want to save the effort of creating manually a page for each.
+
The DPL special page no longer exists.
  
Example: [[Special:DynamicPageListSP/namespace=User]]
+
Its purpose (to provide some sort of GUI for DPL) can be achieved with [[Template:Catlist]] in a better way.
 
 
----
 
 
 
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.
 
 
 
* So you can do things like [[Special:DynamicPageListSP/namespace=User&&titlematch=%o%]] to display all user pages where the username contains an "o".
 
 
 
* 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]].
 

Latest revision as of 13:02, 28 January 2008

Manual Special Page with Parameters

The DPL special page no longer exists.

Its purpose (to provide some sort of GUI for DPL) can be achieved with Template:Catlist in a better way.