Extension:Newest Pages

The Newest Pages extension provides a flexible dual-use special page which lists the most recently created pages on the wiki. This code doesn't use the recentchanges table (Extension:News does), and so items do not expire, as with Special:Newpages.

Requirements
The Newest Pages extension requires MediaWiki 1.6.0 or later.

Installation

 * 1) Check out all extension files from Subversion and place them in a NewestPages subdirectory within your MediaWiki extensions directory
 * 2) Add the line   to your LocalSettings.php file

Installation can be verified through the Special:Version page on the wiki.

Usage
The list can be accessed as a conventional special page, or through inclusion into another page.

Special page
The special page is located at Special:Newestpages and provides a full interface to filter according to namespace, limit the number of results, and toggle the inclusion of redirect pages.

Inclusion
You can include a list of pages into another page using the inclusion mechanism, e.g.



will produce a list of the newest pages in the User namespace. To select the main namespace, use - as the namespace name, e.g.



You can also limit the number of results listed, e.g.



will produce a list of (at most) the five newest articles.