Installation: Difference between revisions
From SemanticOrganization
No edit summary |
(Marked this version for translation) |
||
Line 4: | Line 4: | ||
<translate> | <translate> | ||
<!--T:1--> | |||
see also the [[Full Installation Instructions]] for a complete walkthrough for setting up MediaWiki and all dependencies<!-- or try the [https://github.com/soudis/semorg-docker/ Docker Image]--> | see also the [[Full Installation Instructions]] for a complete walkthrough for setting up MediaWiki and all dependencies<!-- or try the [https://github.com/soudis/semorg-docker/ Docker Image]--> | ||
=== Installation === | === Installation === <!--T:2--> | ||
<!--T:3--> | |||
You can [https://github.com/oteloegen/SemanticOrganization Download SemanticOrganization from GitHub] or get it directly with git: | You can [https://github.com/oteloegen/SemanticOrganization Download SemanticOrganization from GitHub] or get it directly with git: | ||
<!--T:4--> | |||
Change to the "extensions" subdirectory of your MediaWiki installation: | Change to the "extensions" subdirectory of your MediaWiki installation: | ||
</translate> | </translate> | ||
Line 16: | Line 19: | ||
<translate> | <translate> | ||
<!--T:5--> | |||
Clone the repository: | Clone the repository: | ||
</translate> | </translate> | ||
Line 22: | Line 26: | ||
<translate> | <translate> | ||
<!--T:6--> | |||
Add the following to LocalSettings.php: | Add the following to LocalSettings.php: | ||
</translate> | </translate> | ||
Line 28: | Line 33: | ||
<translate> | <translate> | ||
<!--T:7--> | |||
Import the default templates, forms and categories: | Import the default templates, forms and categories: | ||
</translate> | </translate> | ||
Line 34: | Line 40: | ||
<translate> | <translate> | ||
<!--T:8--> | |||
Cleanup after import: | Cleanup after import: | ||
</translate> | </translate> | ||
Line 42: | Line 49: | ||
<translate> | <translate> | ||
=== Dependencies === | === Dependencies === <!--T:9--> | ||
==== Extensions ==== | ==== Extensions ==== <!--T:10--> | ||
<!--T:11--> | |||
SemanticOrganization depends on the following extensions: | SemanticOrganization depends on the following extensions: | ||
* [https://www.semantic-mediawiki.org/ Semantic MediaWiki] (installable via composer) | * [https://www.semantic-mediawiki.org/ Semantic MediaWiki] (installable via composer) | ||
Line 52: | Line 60: | ||
* [https://www.mediawiki.org/wiki/Extension:ParserFunctions Parser Functions] (standard extension included in the MediaWiki download) | * [https://www.mediawiki.org/wiki/Extension:ParserFunctions Parser Functions] (standard extension included in the MediaWiki download) | ||
==== Skin ==== | ==== Skin ==== <!--T:12--> | ||
<!--T:13--> | |||
SemanticOrganization was developed to work with the [https://github.com/thaider/tweeki/ Tweeki] skin. It might or might not work with other skins. | SemanticOrganization was developed to work with the [https://github.com/thaider/tweeki/ Tweeki] skin. It might or might not work with other skins. | ||
=== Recommended configuration settings in LocalSettings.php === | === Recommended configuration settings in LocalSettings.php === <!--T:14--> | ||
# Disable caching | <!--T:15--> | ||
# Disable caching | |||
$wgEnableParserCache = false; | $wgEnableParserCache = false; | ||
$wgCachePages = false; | $wgCachePages = false; | ||
# Allow display titles for automatically created page names | <!--T:16--> | ||
# Allow display titles for automatically created page names | |||
$wgRestrictDisplayTitle = false; | $wgRestrictDisplayTitle = false; | ||
</translate> | </translate> |
Revision as of 21:47, 13 November 2018
The Beta version of SemanticOrganization has not been released yet.
see also the Full Installation Instructions for a complete walkthrough for setting up MediaWiki and all dependencies
Installation
You can Download SemanticOrganization from GitHub or get it directly with git:
Change to the "extensions" subdirectory of your MediaWiki installation:
cd extensions
Clone the repository:
git clone https://github.com/oteloegen/SemanticOrganization
Add the following to LocalSettings.php:
wfLoadExtension( "SemanticOrganization" );
Import the default templates, forms and categories:
php importDump.php < import/semorg-pages.xml
Cleanup after import:
cd .. php maintenance/rebuildrecentchanges.php php maintenance/runJobs.php
Dependencies
Extensions
SemanticOrganization depends on the following extensions:
- Semantic MediaWiki (installable via composer)
- Semantic Result Formats (installable via composer)
- Page Forms
- Parser Functions (standard extension included in the MediaWiki download)
Skin
SemanticOrganization was developed to work with the Tweeki skin. It might or might not work with other skins.
Recommended configuration settings in LocalSettings.php
# Disable caching $wgEnableParserCache = false; $wgCachePages = false;
# Allow display titles for automatically created page names $wgRestrictDisplayTitle = false;