Jump to content

Extension:WantedPagesFromNS

From mediawiki.org
MediaWiki extensions manual
WantedPagesFromNS
Release status: beta
Implementation Parser extension , Tag
Description Displays a list of wanted pages from specified namespace.
Author(s) Kazimierz Król
Latest version 1.0.1 beta (2014-08-08)
MediaWiki 1.32+
PHP same as MW
License GNU General Public License 2.0 or later
Download
‎<wantedpagens>
Quarterly downloads 0
Translate the WantedPagesFromNS extension if it is available at translatewiki.net

Installation

[edit]
  • Download and move the extracted WantedPagesFromNS 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/WantedPagesFromNS
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'WantedPagesFromNS' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

What can this extension do?

[edit]

This extension displays simple list of pages from only one namespace, that are referenced by other pages, but do not exist. This is similar to Special:Wantedpages, but can be embedded in a page's content. There are no options to limit number of items shown, or format the output differently. The list shows wanted pages the are linked to from even only one other page.

Usage

[edit]

In the place where you want to have the list put the following code:

<wantedpagens>
  namespace = Template
</wantedpagens>

This will display list of wanted templates. Replace Template namespace with any namespace (including custom one) you wish.