From 03c6fb10dc85c0fdacbb8fee253f72740c0ed3b0 Mon Sep 17 00:00:00 2001 From: Stephan Gambke Date: Wed, 9 Mar 2016 23:44:46 +0100 Subject: [PATCH] Update docs and release SG 2.0.0 --- README.md | 19 ++++++++++++------- RELEASE-NOTES.md | 8 ++++++++ composer.json | 8 ++++---- extension.json | 2 +- 4 files changed, 25 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index dbb435d..8540e45 100644 --- a/README.md +++ b/README.md @@ -12,25 +12,30 @@ terms and abbreviations can be defined using semantic properties. ## Requirements -- PHP 5.3.2 or later -- MediaWiki 1.23 or later -- [Lingo extension][mw-lingo] 1.2 or later -- [Semantic MediaWiki][smw] 2.2 or later +- PHP 5.3.3 or later +- MediaWiki 1.26 or later +- [Lingo extension][mw-lingo] 2.0 or later +- [Semantic MediaWiki][smw] 2.3 or later ## Installation The recommended way to install this extension is by using [Composer][composer]. -Just add the following to the MediaWiki `composer.json` file and run the `php -composer.phar install/update` command. +Just add the following to the MediaWiki `composer.local.json` file and run the +`php composer.phar install/update mediawiki/semantic-glossary` command. ```json { "require": { - "mediawiki/semantic-glossary": "~1.1" + "mediawiki/semantic-glossary": "~2.0" } } ``` +Then add the following line to your `LocalSettings.php`: +```php +wfLoadExtension('SemanticGlossary'); +``` + ## Contribution and support If you want to contribute work to the project please subscribe to the developers mailing list and diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 74a8b5b..3b911c2 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,5 +1,13 @@ This file contains the RELEASE-NOTES of the Semantic Glossary (a.k.a. SG) extension. +### SG 2.0.0 (2016-03-09) + +* New minimum required versions: + * MediaWiki 1.26 + * Semantic MediaWiki 2.3 + * Lingo 2.0 +* Use the new extension registration mechanism introduced in MediwWiki 1.25 + ### SG 1.1.2 (2015-09-26) * Use `QueryResult::getCountValue` where available to make it compliant with Semantic Mediawiki 2.3 diff --git a/composer.json b/composer.json index 1d919c6..31fb8b6 100644 --- a/composer.json +++ b/composer.json @@ -28,10 +28,10 @@ "irc": "irc://irc.freenode.org/semantic-mediawiki" }, "require": { - "php": ">=5.3.0", - "composer/installers":"^1.0.12", - "mediawiki/semantic-media-wiki": "~2.3", - "mediawiki/lingo": "~2.0" + "php": ">=5.3.3", + "composer/installers":"^1.0.12", + "mediawiki/semantic-media-wiki": "~2.3", + "mediawiki/lingo": "~2.0" }, "extra": { "branch-alias": { diff --git a/extension.json b/extension.json index d407dbe..1981112 100644 --- a/extension.json +++ b/extension.json @@ -1,6 +1,6 @@ { "name": "Semantic Glossary", - "version": "2.0-dev", + "version": "2.0", "author": [ "[https://www.mediawiki.org/wiki/User:F.trott Stephan Gambke]", "[https://www.semantic-mediawiki.org/wiki/User:MWJames James Hong Kong]",