Difference between revisions of "Dynamic Page List - Mediawiki"

From Help Wiki
m
m
Line 2: Line 2:
 
This extension is replacing [[DynamicArticleList - Mediawiki|Dynamic Article List]]
 
This extension is replacing [[DynamicArticleList - Mediawiki|Dynamic Article List]]
 
|content=
 
|content=
<pre>
+
 
 +
 
 +
===Example: Most Popular Academic Statement Pages===
 
<DynamicPageList>
 
<DynamicPageList>
category            = Extension
+
category            = Academic Statement
 
count                = 5
 
count                = 5
 
order                = ascending
 
order                = ascending
addfirstcategorydate = true
+
mode    = unordered
 +
ordermethod = popularity
 
</DynamicPageList>
 
</DynamicPageList>
</pre>
+
<pre>
 
+
 
<DynamicPageList>
 
<DynamicPageList>
 
category            = Academic Statement
 
category            = Academic Statement
Line 18: Line 20:
 
ordermethod = popularity
 
ordermethod = popularity
 
</DynamicPageList>
 
</DynamicPageList>
 +
</pre>
  
===Newly Created  ===
+
===Example: Newly Created  ===
ordermethod = created
+
 
<DynamicPageList>
 
<DynamicPageList>
 
namespace = Main
 
namespace = Main
Line 28: Line 30:
 
ordermethod = created
 
ordermethod = created
 
</DynamicPageList>
 
</DynamicPageList>
 
+
<pre>
===Popular ===
+
ordermethod = popularity
+
 
<DynamicPageList>
 
<DynamicPageList>
 
namespace = Main
 
namespace = Main
Line 36: Line 36:
 
order                = ascending
 
order                = ascending
 
mode    = unordered
 
mode    = unordered
ordermethod = popularity
+
ordermethod = created
 
</DynamicPageList>
 
</DynamicPageList>
 +
</pre>
  
===Recently Updated===
+
 
 +
===Example: Recently Updated===
 +
<DynamicPageList>
 +
namespace = Main
 +
count                = 5
 +
order                = ascending
 +
addfirstcategorydate = ymd
 
ordermethod = lastedit
 
ordermethod = lastedit
 +
</DynamicPageList>
 +
<pre>
 
<DynamicPageList>
 
<DynamicPageList>
 
namespace = Main
 
namespace = Main
Line 48: Line 57:
 
ordermethod = lastedit
 
ordermethod = lastedit
 
</DynamicPageList>
 
</DynamicPageList>
 +
</pre>
 
|sidebar=
 
|sidebar=
 
{{GetHelp}}
 
{{GetHelp}}
 
}}
 
}}
 
[[Category:Mediawiki]]
 
[[Category:Mediawiki]]

Revision as of 11:30, 12 May 2017

This extension is replacing Dynamic Article List

Example: Most Popular Academic Statement Pages

<DynamicPageList>
category             = Academic Statement
count                = 5
order                = ascending
mode     = unordered
ordermethod = popularity
</DynamicPageList>

Example: Newly Created

<DynamicPageList>
namespace = Main
count                = 5
order                = ascending
mode     = unordered
ordermethod = created
</DynamicPageList>


Example: Recently Updated

<DynamicPageList>
namespace = Main
count                = 5
order                = ascending
addfirstcategorydate = ymd
ordermethod = lastedit
</DynamicPageList>