Extension:ShowIncomingRelations

From MediaWiki.org
Jump to: navigation, search

Check usage(experimental)

MediaWiki extensions manual - list
Crystal Clear action run.png
Show Incoming Relations

Release status: beta

Description Show on page all relations other subjects have with this page.
Author(s) dbuTalk
Last version 1.0-beta1
MediaWiki 1.11
License GPL
Download http://davidbu.ch/mann/blog/2010-03-12/mediawiki-extensions.html
See README in the ZIP file

Requires Semantic MediaWiki to be installed

Contents

[edit] What can this extension do?

ShowIncomingRelations is a small extension for Extension:SemanticMediaWiki. 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 Extension:SemanticMediaWiki, but this extension provides the information right in the article and saves the user some clicks.

You can combine this extension with Extension:CreateVirtualPages 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.

[edit] Download instructions

Download the zip file from http://davidbu.ch/mann/blog/2010-03-12/mediawiki-extensions.html and extract it into the extensions folder of your MediaWiki installation.

[edit] Installation

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.

[edit] See also

This extension requires the Extension:SemanticMediaWiki. It has been developped in conjunction with Extension:CreateVirtualPages.

Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox