DPL:Manual - DPL Special Page with Parameters

From FollowTheScore
Jump to: navigation, search

Template:Type:Manual

Warning! "[The special page will die sooner or later]" - don't think you can rely on it's existence.

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.