Extension:CrossNamespaceLinks

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎dansk • ‎español • ‎polski • ‎sicilianu • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
CrossNamespaceLinks
Release status: unmaintained
Implementation Special page
Description Adds a special page listing links across namespaces
Author(s) Ævar Arnfjörð Bjarmason
Latest version 2008-02-01 (2008-02-01)
MediaWiki 1.11+
License No license specified
Download Template:WikimediaDownload/svn
Hooks used
wgQueryPages
Translate the CrossNamespaceLinks extension if it is available at translatewiki.net
Check usage and version matrix.

The CrossNamespaceLinks extension adds a special page to list pages which contain links to a namespace other than their own. Such "cross-namespace links" are discouraged on many wikis.

Installation[edit]

  1. Download the latest snapshot and extract it to your extensions directory.
  2. Add
    require_once "$IP/extensions/CrossNamespaceLinks/CrossNamespaceLinks.php";
    
    to LocalSettings.php
  3. The extension should be now active.

Bugs[edit]

There is a bug in the file SpecialCrossNamespaceLinks_body.php at the line 102 with the group by.

This line is: GROUP BY page_id

After the correction: GROUP BY page_id, page_title, pl_namespace

See also[edit]