# Semantic Maps
## Installation
These are the installation and configuration instructions for the [SemanticMaps](../README.md) extension.
## Versions
### Platform compatibility
|
PHP |
MediaWiki |
SMW |
Maps |
Composer |
Validator |
S. Maps 3.0.x |
5.3.2 - 5.6.x |
1.18 - 1.23 |
1.9.x |
3.0.x |
Required |
1.0.x (handled by Composer) |
S. Maps 2.0.x |
5.3.2 - 5.5.x |
1.18 - 1.23 |
1.8.x |
2.0.x |
Not supported |
0.5.1 |
S. Maps 1.0.5 |
5.2.0 - 5.3.x |
1.17 - 1.19 |
1.7.x |
1.0.5 |
Not supported |
0.4.13 or 0.4.14 |
When installing Semantic Maps 2.x, see the installation instructions that come bundled with it. Also
make use of Validator 0.5.x as stated above. More recent versions of Validator will not work.
### Database support
All current versions of Semantic Maps have full support for all databases that can be used with Semantic MediaWiki.
## Download and installation
The recommended way to download and install Semantic Maps is with [Composer](http://getcomposer.org) using
[MediaWiki 1.22 built-in support for Composer](https://www.mediawiki.org/wiki/Composer). MediaWiki
versions prior to 1.22 can use Composer via the
[Extension Installer](https://github.com/JeroenDeDauw/ExtensionInstaller/blob/master/README.md)
extension.
Note that the [Semantic MediaWiki](https://semantic-mediawiki.org/wiki/Help:Installation) extension as well as the [Maps](https://github.com/JeroenDeDauw/Maps/blob/master/docs/INSTALL.md) extension need to be installed first for this extension to work.
#### Step 1
If you use MediaWiki 1.22 or later, go to the root directory of your MediaWiki installation,
and skip to step 2. You do not need to install any extensions to support Composer.
For MediaWiki 1.21.x and earlier you need to install the
[Extension Installer](https://github.com/JeroenDeDauw/ExtensionInstaller/blob/master/README.md) extension first.
Once you are done installing the Extension Installer extension, go to its directory so the "composer.phar" file
is installed in the right place.
cd extensions/ExtensionInstaller
#### Step 2
If you have previously installed Composer skip to step 3.
To install Composer run:
wget http://getcomposer.org/composer.phar
#### Step 3
Now using Composer, install Semantic Maps by running
php composer.phar require mediawiki/semantic-maps "*"
#### Verify installation success
As final step, you can verify Semantic Maps got installed by looking at the "Special:Version" page on your wiki and verifying the Semantic Maps extension is listed in the "Semantic extensions" section.
## Configuration
See the [Semantic Maps settings file](../SM_Settings.php) for the available configuration options.