QED:Dynamic Page List
From QED
QED currently supports Dynamic Page List Version 2 (v0.5.1), which is useful for producing lists of pages dynamically using a simple query language.
Queries take the form of marked up text. For example, the query:
<DPL> category=Africa|Europe category=Politics and conflicts </DPL>
will output pages that are in: ([[Category:Africa]] OR [[Category:Europe]]) AND [[Category:Politics and conflicts]]
The above query is equivalent to the following:
<DPL> category=Africa|Europe category=Politics and conflicts </DPL>
Note that so far as DPL queries are concerned, a page is in a category if and only if it has been specifically tagged as such. For queries that traverse the subcategory relation, see Help:Category_Queries.
Examples
Query: Display all pages in Category:MediaWiki Extensions.
DPL Query:
<DPL> ordermethod=lastedit category=MediaWiki Extensions </DPL>
Result:
- Help:Cite
- Help:FCKeditor
- QED:Templates
- Help:Google Maps
- Help:Tables
- Help:Memorize
- Help:JsMath
- Help:Parser function
- Help:Video
- Help:Charinsert
- Help:Categorytree
- Help:Timeline
- Help:External Data
- Graphviz
- Help:JpGraph
- QED:Image
- Help:Category Queries
- Help:Functions
- Help:Google Earth
- Help:Jmol
- Help:Imagemap
- Help:Flyover
- Help:Ram
- Help:Googlemap
- QED:Sharethis
- Help:RSS
- QED:RSS
- QED:KMZ
- QED:Flash
- QED:Gflash
- Help:Gnuplot
- QED:Dynamic Page List
- Help:Mov
- Help:ChangeIFRAME
Query: Display all pages in the Main: namespace that are also in Category:MediaWiki Extensions.
DPL Query:
<DPL> namespace=Main category=MediaWiki Extensions </DPL>
Result:
Conjunction
Query: Display pages that are in both Category:Glyph and Category:Symbol
DPL query: <DPL> ordermethod=title category=glyph category=symbol </DPL>
Result:
- Help:Symbols
- Image:Red copyright.svg
- Image:PD-icon.svg
- Image:ImageOf.png
- Help:HTML Entity Names
- Image:Green copyright.svg
- Help:Characters
- Image:Cc-sa-deed.gif
- Image:Cc-nc-standard.gif
- Image:Cc-by-standard.gif












