DynamicPageList

From semanticweb.org
Jump to: navigation, search


http://meta.wikimedia.org/wiki/DynamicPageList

Example [1]:

<DynamicPageList>
category=published
category=Asia
count=10
addfirstcategorydate=true
</DynamicPageList>

Compare with:

<ask limit=10>[[Category:Published||Asia]]</ask>

<ask sort=date limit=10>[[date:= ]][[Category:Cafe||Restaurant]]</ask> giving <ask sort=date limit=10></ask>.

While "addfirstcategorydate=true" automatically adds for each listed page the date it was added to the first category, "sort=date" in the ask tag requires an annotation of the Attribute:Date in every page, e.g. produced with {{subst:date}}.

See also category:Wikinews.

Personal tools
Namespaces

Variants
Actions
Navigation
services
Toolbox