Installation: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
Line 3: Line 3:
{{release-warning}}
{{release-warning}}


<translate>
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]-->


Line 10: Line 11:


Change to the "extensions" subdirectory of your MediaWiki installation:
Change to the "extensions" subdirectory of your MediaWiki installation:
</translate>


  cd extensions
  cd extensions


<translate>
Clone the repository:
Clone the repository:
</translate>


  git clone https://github.com/oteloegen/SemanticOrganization
  git clone https://github.com/oteloegen/SemanticOrganization


<translate>
Add the following to LocalSettings.php:
Add the following to LocalSettings.php:
</translate>


  wfLoadExtension( "SemanticOrganization" );
  wfLoadExtension( "SemanticOrganization" );


<translate>
Import the default templates, forms and categories:
Import the default templates, forms and categories:
</translate>


  php importDump.php < import/semorg-pages.xml
  php importDump.php < import/semorg-pages.xml


<translate>
Cleanup after import:
Cleanup after import:
</translate>


  cd ..
  cd ..
Line 31: Line 41:
  php maintenance/runJobs.php
  php maintenance/runJobs.php


<translate>
=== Dependencies ===
=== Dependencies ===


Line 53: Line 64:
  # Allow display titles for automatically created page names
  # Allow display titles for automatically created page names
  $wgRestrictDisplayTitle = false;
  $wgRestrictDisplayTitle = false;
</translate>

Revision as of 21:46, 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:

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;