Extension:Newest Pages

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.svg
Newest Pages

Release status:Extension status stable

ImplementationTemplate:Extension#type Special page, Parser extension
DescriptionTemplate:Extension#description List of the most recently created pages on the wiki (doesn't use recentchanges)
Author(s)Template:Extension#username Rob Church (Robchurchtalk)
Latest versionTemplate:Extension#version 1.21.0 (2017-01-27)
MediaWikiTemplate:Extension#mediawiki 1.25+
PHPTemplate:Extension#php 5.3+
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license GNU General Public License 2.0 or later

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

Check usage and version matrix.


Open tasks · Report a bug

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.


  • Download and place the file(s) in a directory called NewestPages in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'NewestPages' );
  • Configure as required.
  • YesY Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.


The maximum number of pages that can be listed with this extension. In any case, the number of pages listed will be limited to 5000, but this variable can set a lower limit.


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

Special page[edit]

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.


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.


To select all namespaces, use all 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.

See also[edit]

Other languages:Project:Language policy English  • русский