From 75e8b383b20486809801432133cc9d57bd0a0306 Mon Sep 17 00:00:00 2001 From: Karsten Hoffmeyer Date: Sun, 18 Aug 2019 18:34:56 +0200 Subject: [PATCH] 2.1.0 release (#51) * Update composer.json ** Simplify version contraints * Update README.md ** Simplify installation instructions --- README.md | 19 ++++--------------- composer.json | 2 +- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index fe04bb3..4efa100 100644 --- a/README.md +++ b/README.md @@ -24,15 +24,8 @@ instructions provided. ### Step 1 -Change to the base directory of your MediaWiki installation. This is where the "LocalSettings.php" -file is located. If you have not yet installed Composer do it now by running the following command -in your shell: - - wget https://getcomposer.org/composer.phar - -### Step 2 - -If you do not have a "composer.local.json" file yet, create one and add the following content to it: +Change to the base directory of your MediaWiki installation. If you do not have a "composer.local.json" file yet, +create one and add the following content to it: ``` { @@ -49,7 +42,7 @@ section in your file: Remember to add a comma to the end of the preceding line in this section. -### Step 3 +### Step 2 Run the following command in your shell: @@ -58,16 +51,12 @@ Run the following command in your shell: Note if you have Git installed on your system add the `--prefer-source` flag to the above command. Also note that it may be necessary to run this command twice. If unsure do it twice right away. -### Step 4 +### Step 3 Add the following line to the end of your "LocalSettings.php" file: wfLoadExtension( 'SemanticCompoundQueries' ); -### Verify installation success - -As final step, you can verify SCI got installed by looking at the "Special:Version" page on your wiki and -check that it is listed in the semantic extensions section. ## Usage diff --git a/composer.json b/composer.json index 9d063fb..3b1d7b9 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "require": { "php": ">=7.0", "composer/installers": "1.*,>=1.0.1", - "mediawiki/semantic-media-wiki": "~3.0|~3.1" + "mediawiki/semantic-media-wiki": "~3.0" }, "require-dev": { "mediawiki/semantic-media-wiki": "@dev",