Installation: Difference between revisions
From SemanticOrganization
No edit summary |
No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
__TOC__ | __TOC__ | ||
<translate> | <translate> | ||
Line 23: | Line 21: | ||
</translate> | </translate> | ||
git clone https://github.com/ | git clone https://github.com/thaider/SemanticOrganization | ||
<translate> | <translate> | ||
Line 37: | Line 35: | ||
</translate> | </translate> | ||
php maintenance/importDump.php < extensions/SemanticOrganization/import/ | php maintenance/importDump.php < extensions/SemanticOrganization/import/semorg_pages.xml | ||
<translate> | <translate> | ||
Line 49: | Line 47: | ||
<translate> | <translate> | ||
=== Dependencies === <!--T:9--> | === Dependencies === <!--T:9--> | ||
=== MediaWiki === <!--T:17--> | |||
<!--T:18--> | |||
SemanticOrganization has only been tested with MediaWiki 1.39 | |||
==== Extensions ==== <!--T:10--> | ==== Extensions ==== <!--T:10--> | ||
Line 54: | Line 57: | ||
<!--T:11--> | <!--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] 4.1.x (installable via composer) | ||
* [https://www.mediawiki.org/wiki/Extension:Semantic_Result_Formats Semantic Result Formats] (installable via composer) | * [https://www.mediawiki.org/wiki/Extension:Semantic_Result_Formats Semantic Result Formats] 4.1.x (installable via composer) | ||
* [https://www.mediawiki.org/wiki/Extension:Page_Forms Page Forms] | * [https://www.mediawiki.org/wiki/Extension:Page_Forms Page Forms] | ||
* [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) | ||
Line 66: | Line 69: | ||
=== Recommended configuration settings in LocalSettings.php === <!--T:14--> | === Recommended configuration settings in LocalSettings.php === <!--T:14--> | ||
</translate> | |||
# Allow display titles for automatically created page names | |||
# Allow display titles for automatically created page names | |||
$wgRestrictDisplayTitle = false; | $wgRestrictDisplayTitle = false; | ||
Latest revision as of 21:45, 17 June 2024
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/thaider/SemanticOrganization
Add the following to LocalSettings.php:
wfLoadExtension( "SemanticOrganization" );
Import the default templates, forms and categories:
php maintenance/importDump.php < extensions/SemanticOrganization/import/semorg_pages.xml
Cleanup after import:
php maintenance/rebuildrecentchanges.php php maintenance/runJobs.php
Dependencies
MediaWiki
SemanticOrganization has only been tested with MediaWiki 1.39
Extensions
SemanticOrganization depends on the following extensions:
- Semantic MediaWiki 4.1.x (installable via composer)
- Semantic Result Formats 4.1.x (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
# Allow display titles for automatically created page names $wgRestrictDisplayTitle = false;