Open main menu

Extension:WantedPagesFromNS

MediaWiki extensions manual
OOjs UI icon advanced.svg
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.17 (tested with 1.23.2)
PHP same as MW
License GNU General Public License 2.0 or later
Download
Tags
<wantedpagens>
Hooks used
wantedpagens
Translate the WantedPagesFromNS extension if it is available at translatewiki.net
Check usage and version matrix.

InstallationEdit

  • Download and place the file(s) in a directory called WantedPagesFromNS in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/WantedPagesFromNS/WantedPagesFromNS.php";
    
  •   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.

UsageEdit

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.