Open main menu

Extension:Technology Radar

MediaWiki extensions manual
OOjs UI icon advanced.svg
Technology Radar
Release status: stable
Implementation Page action
Description The Technology Radar allows you to display a technology radar.
Author(s) Wolf Quaschningk, Michael Färber
Latest version 1.0.0 (2015-04-21)
MediaWiki 1.23+
Database changes No
License GNU General Public License 2.0 or later
Download external download
Example km.aifb.kit.edu (Login: test/test)
Translate the Technology Radar extension if it is available at translatewiki.net
Check usage and version matrix.

With the Technology Radar extension you can display a technology radar of your technologies stored in your wiki.

RequirementsEdit

  • MediaWiki 1.23+ (tested with 1.23 and 1.25)
  • Semantic MediaWiki 1.9.1+ (tested with 1.9.1 and 2.2)
  • Semantic Result Formats 1.9+ (tested with 1.9 and 2.1.2)

InstallationEdit

  • Download radar.zip and unzip it.
  • Copy the folder 'radar' into the formats folder of the SemanticResultFormats extension folder, i.e. /extensions/SemanticResultFormats/formats.
  • Add following code to Resources.php at the corresponding place:
    'ext.srf.radar.namespace' => $formatModule + array(
                        'scripts' => array('radar/resources/ext.srf.radar.namespace.js'), 
                        'styles'  => 'radar/resources/ext.srf.radar.css',
                        'dependencies' => array( 'ext.srf.util', 'ext.d3.core', 'ext.srf.d3.common'),
                        'messages' => array( 'srf-radar-message' ),
    ),
  • Add following code to SemanticResultFormats.php:
		'radar' => 'SRFRadar'
  • Add following code to SemanticResultFormats.settings.php:
		'radar',
  • Add SFR_Radar.php to the list of automatic loaded classes.
  • If packages and autoload are managed by Composer, add following line to {mediawiki_base_dir}/vendor/composer/autoload_classmap.php:
		'SRFRadar' => $baseDir . '/extensions/SemanticResultFormats/formats/radar/SRF_Radar.php',
  • Otherwise add following line at the top of SemanticResultFormats.settings.php:
		$wgAutoloadClasses['SRFRadar'] = 'extensions/SemanticResultFormats/formats/portfolio/radar/SRF_Radar.php';

UsageEdit

  • Example for an integration:
{{#ask:
 [[Category:Radar]]
 |?technology_class
 |?relevance
 |?form
 |format=radar
 |legend=Relevanz im Unternehmen
 |middle=Relevanz
 |width=500
 |height=500
}}

Thereby, all wiki articles which represent a technology and which should be included into the diagram are tagged with "[[Category:Radar]]" and have the properties technology_class, relevance, and form.