Extension:Technology Portfolio
Jump to navigation
Jump to search
Technology Portfolio Release status: stable |
|
---|---|
Implementation | Page action |
Description | Allows you to display a technology portfolio. |
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) |
With the Technology Radar extension you can display a technology portfolio of your technologies stored in your wiki.
Requirements[edit]
- 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)
Installation[edit]
- Download portfolio.zip and unzip it.
- Copy the folder 'portfolio' 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.portfolio.namespace' => $formatModule + array( 'scripts' => 'portfolio/resources/ext.srf.portfolio.namespace.js', 'styles' => 'portfolio/resources/ext.srf.portfolio.css', 'dependencies' => array( 'ext.srf.util', 'ext.d3.core', 'ext.srf.d3.common'), 'messages' => array( 'srf-radar-message' ), ),
- Add following code to SemanticResultFormats.php:
'portfolio' => 'SRFPortfolio',
- Add following code to SemanticResultFormats.settings.php:
'portfolio',
- Add SFR_Portfolio.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:
'SRFPortfolio' => $baseDir . '/extensions/SemanticResultFormats/formats/portfolio/SRF_Portfolio.php',
- Otherwise add following line at the top of SemanticResultFormats.settings.php:
$wgAutoloadClasses['SRFPortfolio'] = 'extensions/SemanticResultFormats/formats/portfolio/portfolio/SRF_Portfolio.php';
Usage[edit]
- Example for an integration:
{{#ask: [[Category:Portfolio]] |?Ressourcenstärke |?Technologieattraktivität |?Projektumfang |format=portfolio |caliber=Projektumfang }}
Thereby, all wiki articles which represent a technology and which should be included into the diagram are tagged with "[[Category:Portfolio]]" and have the properties Ressourcenstärke, Technologieattraktivität, and Projektumfang (numerical values, can be calculated by subparameters).