Extension:Dynamic Article List

Introduction
DynamicArticleList is a Mediawiki 1.20 extension. It is designed to provide add-on sort ability among all posted articles. Now four types of Dynamic Article List have been implemented.


 * 1) Newly Posted Articles
 * 2) Recently Updated Articles
 * 3) Recent Discussions
 * 4) Most Popular Articles

User could easily find the latest or most popular topics cross site with the help of Dynamic Article List.

This extension is written with the help from Dynamic Page List.

Prerequisite

 * PHP 5 or above is needed.

Installation

 * Download the ZIP file
 * Extract alls files to YOUR_MW_DIR/extensions/DynamicArticleList
 * Add a line  require_once( '$IP/extensions/DynamicArticleList/ DynamicArticleList.php' );  into your, found in your root wiki directory.

Tag and its parameters
Note:


 * If "categoryRoot" is set, Dynamic Article List will only retrieve articles in this category and its children. If not, all articles will be candidates.
 * The value of parameter "type" could be one of the following (default is  new ):
 * new => Newly Posted Articles
 * update => Recently Updated Articles
 * discussion => Recent Discussions
 * hot => Most Popular Articles
 * The default value of "count" is  5 .

Samples
A sample snapshot of Dynamic Article List is shown below.



When "type" is set to  new , The output record format would be  Page Title (author) - [create time]  When "type" is set to  update  or  discussion , The output record format would be  Page Title (last editor) - [update time] 

The underlying wiki codes are:  title=Newly Posted Articles type=new count=512412412412 

Another sample snapshot of Dynamic Article List is shown below.



When "type" is set to  hot , The output record format would be  Page Title - (accessed times) 

The underlying wiki codes are:  title=Most Popular Articles type=hot count=5 