Difference between revisions of "Extension/Semantic Result format/Installation"
Jump to navigation
Jump to search
(Created page with "== Resource == Original installation link [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Result_Formats/Installation Semantic Result Formats] == Process == N...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== | {{LogicModel|name=Extension/Semantic Result format/Installation}} | ||
== Input == | |||
Original installation link [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Result_Formats/Installation Semantic Result Formats] | Original installation link [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Result_Formats/Installation Semantic Result Formats] | ||
== Process == | == Process == | ||
Note that the <code> composer.local.json </code> does not work unless the [https://www.mediawiki.org/wiki/Composer#Using_composer-merge-plugin composer-merge-plugin] is installed. Therefore it is prefered to modify the <code> [[composer.json]] </code> file. | Note that the <code> composer.local.json </code> does not work unless the [https://www.mediawiki.org/wiki/Composer#Using_composer-merge-plugin composer-merge-plugin] is installed. Therefore it is prefered to modify the <code> [[composer.json]] </code> file. | ||
1. Put the following code in <code> [[composer.json]] </code> | 1. Put the following code in <code> [[composer.json]] </code> | ||
{ "require": { "mediawiki/semantic-result-formats": "~3.1" } } | { "require": { "mediawiki/semantic-result-formats": "~3.1" } } |
Latest revision as of 03:17, 23 August 2021
Logic Model (Extension/Semantic Result format/Installation) Template:LogicModel 08 23, 2021 | ||||||
---|---|---|---|---|---|---|
| ||||||
|
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