From 766a7ac596d65dfffa94a654ef4692e6e8233353 Mon Sep 17 00:00:00 2001 From: Karsten Hoffmeyer Date: Sun, 18 Aug 2019 19:58:33 +0200 Subject: [PATCH] Make version 2.1.0 (#80) * Update README.md ** Update requirements section ** Update installation section * Update composer.json ** Update requirements * Update extension.json ** Increment version ** Update MediaWiki requirement ** Add extension requirement ** Update manifest version * Update RELEASE-NOTES.md ** Provide release notes for new version --- README.md | 36 ++++++++++++------------------------ RELEASE-NOTES.md | 14 +++++++++++++- composer.json | 4 ++-- extension.json | 9 ++++++--- 4 files changed, 33 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index 1c8b2c6..dbf3eb7 100644 --- a/README.md +++ b/README.md @@ -23,12 +23,12 @@ Several short [videos](https://www.youtube.com/playlist?list=PLIJ9eX-UsA5eI_YFdn ## Requirements -- PHP 5.6 or later -- MediaWiki 1.27 or later -- [Semantic MediaWiki][smw] 2.5 or later +- PHP 7.0 or later +- MediaWiki 1.31 or later +- [Semantic MediaWiki][smw] 3.0 or later -Semantic Cite **does not require** nor uses any part of [`Cite`][mw-cite] (or ``) -as a means to declare a citation resource. +Semantic Cite **does not require** nor uses any part of [`Cite`][mw-cite] (or ``) as a means to declare +a citation resource. ## Installation @@ -40,20 +40,13 @@ 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: ``` { "require": { - "mediawiki/semantic-cite": "~2.0" + "mediawiki/semantic-cite": "~2.1" } } ``` @@ -61,11 +54,11 @@ If you do not have a "composer.local.json" file yet, create one and add the foll If you already have a "composer.local.json" file add the following line to the end of the "require" section in your file: - "mediawiki/semantic-cite": "~2.0" + "mediawiki/semantic-cite": "~2.1" 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: @@ -74,22 +67,17 @@ 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( 'SemanticCite' ); -### Step 5 +### Step 4 Run the **maintenance script ["update.php"][mw-update]** to ensure that property tables are properly initialized. -### 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 ![scite-sneak](https://cloud.githubusercontent.com/assets/1245473/8370671/7d8bfeac-1bcb-11e5-9007-79a3d39f70ce.png) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 579ea0f..9f955a0 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,4 +1,16 @@ -This file contains the RELEASE-NOTES of the Semantic Cite (a.k.a. SCI) extension. +This file contains the RELEASE-NOTES of the **Semantic Cite** (a.k.a. SCI) extension. + +## 2.1.0 + +Released on August 18, 2019. + +* Minimum requirement for + * PHP changed to version 7.0 and later + * MediaWiki changed to version 1.31 and later + * Semantic MediaWiki changed to version 3.0 and later +* Added support for Semantic MediaWiki 3.1 and later +* Minor bug fixes and code improvements +* Localization updates from https://translatewiki.net ### 2.0.1 diff --git a/composer.json b/composer.json index 9b79dbb..3d4dff9 100644 --- a/composer.json +++ b/composer.json @@ -26,9 +26,9 @@ "source": "https://github.com/SemanticMediaWiki/SemanticCite" }, "require": { - "php": ">=5.6.0", + "php": ">=7.0", "composer/installers": "^1.0.12", - "mediawiki/semantic-media-wiki": "~2.5|~3.0", + "mediawiki/semantic-media-wiki": "~3.0", "onoi/cache": "~1.2", "onoi/http-request": "~1.3", "onoi/remi":"~0.2", diff --git a/extension.json b/extension.json index 390d44f..5a7cff4 100644 --- a/extension.json +++ b/extension.json @@ -1,6 +1,6 @@ { "name": "SemanticCite", - "version": "2.1.0-alpha", + "version": "2.1.0", "author": [ "James Hong Kong" ], @@ -10,7 +10,10 @@ "license-name": "GPL-2.0-or-later", "type": "semantic", "requires": { - "MediaWiki": ">= 1.27" + "MediaWiki": ">= 1.31", + "extensions": { + "SemanticMediaWiki": ">= 3.0" + } }, "MessagesDirs": { "SemanticCite": [ @@ -22,5 +25,5 @@ "SemanticCite::onExtensionFunction" ], "load_composer_autoloader": true, - "manifest_version": 1 + "manifest_version": 2 }