Difference between revisions of "Installation"

From SemanticOrganization
Jump to: navigation, search
(Marked this version for translation)
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__TOC__
 
__TOC__
  
{{release-warning}}
+
<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 [[Full Installation Instructions]] for setting up MediaWiki and all dependencies or try the [https://github.com/soudis/semorg-docker/ Docker Image]
+
=== Installation === <!--T:2-->
  
=== Installation ===
+
<!--T:3-->
 
+
You can [https://github.com/oteloegen/SemanticOrganization Download SemanticOrganization from GitHub] or get it directly with git:
You can [https://github.com/thaider/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>
  
 
  cd extensions
 
  cd extensions
  
 +
<translate>
 +
<!--T:5-->
 
Clone the repository:
 
Clone the repository:
 +
</translate>
  
 
  git clone https://github.com/thaider/SemanticOrganization
 
  git clone https://github.com/thaider/SemanticOrganization
  
 +
<translate>
 +
<!--T:6-->
 
Add the following to LocalSettings.php:
 
Add the following to LocalSettings.php:
 +
</translate>
  
 
  wfLoadExtension( "SemanticOrganization" );
 
  wfLoadExtension( "SemanticOrganization" );
  
 +
<translate>
 +
<!--T:7-->
 
Import the default templates, forms and categories:
 
Import the default templates, forms and categories:
 +
</translate>
  
  php importDump.php < import/semorg-pages.xml
+
  php maintenance/importDump.php < extensions/SemanticOrganization/import/semorg_pages.xml
  
 +
<translate>
 +
<!--T:8-->
 
Cleanup after import:
 
Cleanup after import:
 +
</translate>
  
cd ..
 
 
  php maintenance/rebuildrecentchanges.php
 
  php maintenance/rebuildrecentchanges.php
 
  php maintenance/runJobs.php
 
  php maintenance/runJobs.php
  
=== Dependencies ===
+
<translate>
 +
=== Dependencies === <!--T:9-->
 +
 
 +
=== MediaWiki === <!--T:17-->
 +
 
 +
<!--T:18-->
 +
SemanticOrganization has only been tested with MediaWiki 1.31
  
==== 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]
+
* [https://www.semantic-mediawiki.org/ Semantic MediaWiki] 2.5.x (installable via composer)
* [https://www.mediawiki.org/wiki/Extension:Page_Forms Page Forms]  
+
* [https://www.mediawiki.org/wiki/Extension:Semantic_Result_Formats Semantic Result Formats]  2.5.x (installable via composer)
* [https://www.mediawiki.org/wiki/Extension:ParserFunctions Parser Functions]
+
* [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)
  
==== Skins ====
+
==== 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
+
</translate>
$wgEnableParserCache = false;
 
$wgCachePages = false;
 
  
 
  # Allow display titles for automatically created page names
 
  # Allow display titles for automatically created page names
 
  $wgRestrictDisplayTitle = false;
 
  $wgRestrictDisplayTitle = false;
 
=== Example configurations ===
 
 
 
 
=== Basic Configuration ===
 
 
* …
 

Latest revision as of 13:33, 24 June 2022

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.31

Extensions

SemanticOrganization depends on the following extensions:

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;