Extension:Newest Pages

From MediaWiki.org

(Redirected from Extension:NewestPages)
Jump to: navigation, search
Manual on MediaWiki Extensions
List of MediaWiki Extensions
Newest Pages

Release status: stable

Implementation Special page
Description List of the most recently created pages on the wiki (doesn't use recentchanges)
Author(s) Rob Church
Last Version 1.7 (2008-01-11)
MediaWiki 1.6.0+
License GPL
Download Download snapshot

Subversion [Help]
Browse source code (<MW1.11)
README
CHANGELOG

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, and so items do not expire, as with Special:Newpages.

Contents

[edit] Requirements

The Newest Pages extension requires MediaWiki 1.6.0 or later.

[edit] Note

The developer and former maintainer of this extension, Rob Church, is no longer an active MediaWiki developer. The final version of this extension which can be considered released/approved by him is that of r23533. Users experiencing problems with the latest files may wish to try this version; this affects users of pre-1.11 wikis in particular.

[edit] 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 require_once( "{$IP}/extensions/NewestPages/NewestPages.php" ); to your LocalSettings.php file

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

[edit] Usage

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

[edit] 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.

[edit] Inclusion

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

{{Special:Newestpages/User}}

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

{{Special:Newestpages/-}}

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

{{Special:Newestpages/-/5}}

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

Personal tools