Extension:ShowIncomingRelations

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
Show Incoming Relations
Release status: unmaintained
Implementation User interface
Description Shows all relations that other subjects have with this page.
Author(s) David Bu (dbutalk)
Latest version 1.0-beta1 (2010-03-12)
MediaWiki 1.11+
Database changes No
License GPL
Download external source
Requires Semantic MediaWiki to be installed
Translate the ShowIncomingRelations extension if it is available at translatewiki.net
Check usage and version matrix.

The ShowIncomingRelations is a small extension for Semantic MediaWiki. It shows a box with all relations other pages have to the current page. This information is also provided in a more sophisticated way in the "Special:Browse" page provided by Semantic MediaWiki, but this extension provides the information right in the article and saves the user some clicks.

You can combine this extension with the Extension:CreateVirtualPages extension to automatically create pages for every subject referenced by semantic information. The automatically created pages then will also have the information block provided by ShowIncomingRelations

The CSS classes are the same as in SMW, providing for a similar look.

Download[edit]

Download the zip file and extract it to the folder of your MediaWiki installation.

Installation[edit]

This extension requires Semantic MediaWiki to be installed first.

To install this extension, add the following to LocalSettings.php :

include_once "extensions/ShowIncomingRelations/ShowIncomingRelations.php";
Put this line before or after the line including Semantic MediaWiki, depending on whether you want the incoming relations box to appear above or below the facts box.

See also[edit]

It has been developped in conjunction with Extension:CreateVirtualPages .