Extension:Newest Pages

From MediaWiki.org
(Redirected from Extension:NewestPages)
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
Newest Pages

Release status: stable

NewestPages.png
Implementation Special page, Parser extension
Description List of the most recently created pages on the wiki (doesn't use recentchanges)
Author(s) Rob Church (RobchurchTalk)
Last version 1.8 (2009-06-11)
MediaWiki 1.11+
Database changes no
License GPL
Download Download snapshot
Subversion [Help]

Browse source code
View code changes

README
CHANGELOG

Parameters

$wgNewestPagesLimit

Check usage (experimental)
Bugs: list open list all report

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] Installation

  1. Download the files from SVN or download a snapshot. Choose the version that matches your version of MediaWiki.
  2. Create a directory NewestPages in your $IP/extensions directory.
  3. Extract the files to this $IP/extensions/NewestPages directory.
  4. Add to the end of LocalSettings.php:
    require_once("$IP/extensions/NewestPages/NewestPages.php");
  5. Installation can now be verified through Special:Version on your 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/-}}

To select all namespaces, use all as the namespace name, e.g.

{{Special:Newestpages/all}}

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.

[edit] See also

Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox