Extension:PagesList

Category:Unmaintained extensions#PagesList Category:Extensions without an imageCategory:GPL licensed extensions
MediaWiki extensions manual
PagesList
Release status: unmaintainedCategory:Unmaintained extensions
Implementation Parser function Category:Parser function extensions, Special page Category:Special page extensions
Description Shows a list of pages
Author(s) Ike Hecht (Tosfostalk)
Latest version 0.3 (May 2015)
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.Category:Extensions with release branches compatibility policy
PHP 5.3
Database changes No
License GNU General Public License 2.0 or later
Download Category:Extensions in Wikimedia version control
  • $wgPagesListUseAjax
  • $wgPagesListShowLastModification
  • $wgPagesListShowLastUser
  • $wgPagesListDataTablesOptions
Quarterly downloads 2 (Ranked 96th)
Translate the PagesList extension if it is available at translatewiki.net
Category:All extensions

The PagesList extension shows a list of pages contained in the wiki. The list can be limited by namespace, category or base page name. Optionally, the extension also displays the last author and modified date for each page. The list can be accessed through a special page or included using a parser function. It uses the DataTables jQuery plug-in.

Installation

  • Download and move the extracted PagesList folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/PagesList
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'PagesList' );
    
    If installing from git, don't forget to do git submodule init && git submodule update. Otherwise, the DataTables plug-in will not be loaded.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parameters

$wgPagesListShowLastUser
Show who the page was last modified by
$wgPagesListShowLastModification
Show when the page was last modified
$wgPagesListDataTablesOptions
An array of options for the DataTables plugin. See here for more information.
Example:
$wgPagesListDataTablesOptions = array(
    'iDisplayLength' => 25
);

Usage

Special page

Navigate to Special:PagesList for a list of pages using in DataTables format. Alternatively, navigate to Special:PagesListQueryPage to see the same list in a paginated query page format, which will load large lists quicker. Either way, use the options header to modify which pages are displayed.

Parser function

These parameters are all optional. By default the extension lists all pages in the wiki. Other default values are listed in all-caps below.

{{#pageslist:
  namespace=namespacename
| invert=yes/NO
| associated=yes/NO
| category=categoryname
| format=plain/ol/ul/table/DATATABLE
}}
Category:Subpage extensions Category:List extensions
Category:All extensions Category:BeforePageDisplay extensions Category:Extensions in Wikimedia version control Category:Extensions with release branches compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:List extensions Category:ParserFirstCallInit extensions Category:Parser function extensions Category:ResourceLoaderGetConfigVars extensions Category:Special page extensions Category:Subpage extensions Category:Unmaintained extensions