Extension:Newest Pages

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

Release status: stable

NewestPages.png
Implementation Special pageParser extension
Description List of the most recently created pages on the wiki (doesn't use recentchanges)
Author(s) Rob Church (Robchurchtalk)
Latest version 1.10.0 (2014-04-01)
MediaWiki 1.19+
PHP 5.3+
Database changes No
License GPL
Download
README
CHANGELOG
Parameters

$wgNewestPagesLimit

Translate the Newest Pages extension if it is available at translatewiki.net

Check usage and version matrix; code metrics
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.

Installation[edit | edit source]

  • Download and extract the file(s) in a directory called NewestPages in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/NewestPages/NewestPages.php";
  • Done! Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.

Usage[edit | edit source]

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

Special page[edit | edit source]

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

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.

See also[edit | edit source]

Language: English  • русский