Extension/Semantic Result format/Installation

From PKC
Revision as of 03:17, 23 August 2021 by KevinTung (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Logic Model (Extension/Semantic Result format/Installation) Template:LogicModel 08 23, 2021
Abstract Specification
Context Extension/Semantic Result format/Installation/Context
Goal Extension/Semantic Result format/Installation/Goal
Success Criteria Extension/Semantic Result format/Installation/Criteria
Concrete Implementation
Given Inputs When Process is executed... Then, we get Outputs
Original installation link Semantic Result Formats Note that the composer.local.json does not work unless the composer-merge-plugin is installed. Therefore it is prefered to modify the composer.json file.

1. Put the following code in composer.json

{ "require": { "mediawiki/semantic-result-formats": "~3.1" } }

2. Run

 composer update && php maintainence/update.php  

or

 php composer.phar update && php maintainence/update.php  

Based on whether the composer cli is shortcutted

3. In order to enable the rendering of calendar and timeline, one need to include the following two lines in LocalSettings.php.

wfLoadExtension( 'SemanticResultFormats' );
$srfgFormats = [ 'calendar', 'timeline' ];
Demonstration: All_activities#Timeline
Boundary/Safety Conditions of Extension/Semantic Result format/Installation
Extension/Semantic Result format/Installation/Boundary

Input

Original installation link Semantic Result Formats

Process

Note that the composer.local.json does not work unless the composer-merge-plugin is installed. Therefore it is prefered to modify the composer.json file.

1. Put the following code in composer.json

{ "require": { "mediawiki/semantic-result-formats": "~3.1" } }

2. Run

 composer update && php maintainence/update.php  

or

 php composer.phar update && php maintainence/update.php  

Based on whether the composer cli is shortcutted

3. In order to enable the rendering of calendar and timeline, one need to include the following two lines in LocalSettings.php.

wfLoadExtension( 'SemanticResultFormats' );
$srfgFormats = [ 'calendar', 'timeline' ];


Output

Demonstration: All_activities#Timeline