Skip to content

Commit

Permalink
Make 4.0 release (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
kghbln committed Jul 9, 2021
1 parent 1133851 commit 264f809
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 37 deletions.
35 changes: 16 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Semantic Glossary

[![Build Status](https://travis-ci.org/SemanticMediaWiki/SemanticGlossary.svg)](https://travis-ci.org/SemanticMediaWiki/SemanticGlossary)
[![Build Status](https://www.travis-ci.com/SemanticMediaWiki/SemanticGlossary.svg?branch=master)](https://www.travis-ci.com/SemanticMediaWiki/SemanticGlossary)
[![Code Coverage](https://scrutinizer-ci.com/g/SemanticMediaWiki/SemanticGlossary/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/SemanticMediaWiki/SemanticGlossary/?branch=master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/SemanticMediaWiki/SemanticGlossary/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/SemanticMediaWiki/SemanticGlossary/?branch=master)
[![Latest Stable Version](https://poser.pugx.org/mediawiki/semantic-glossary/version.png)](https://packagist.org/packages/mediawiki/semantic-glossary)
Expand All @@ -11,43 +11,39 @@ terms and abbreviations can be defined using semantic properties.

## Requirements

- PHP 5.6 or later
- MediaWiki 1.27 or later
- [Semantic MediaWiki][smw] 2.4 or later
- PHP 7.1 or later
- MediaWiki 1.31 or later
- [Semantic MediaWiki][smw] 3.1 or later
- [Lingo][lg] 3.1 or later

## Installation

The recommended way to install this extension is by using [Composer][composer].
Just add the following to the MediaWiki `composer.local.json` file and run the
Note that the Semantic MediaWiki extension and the Lingo extension need to be installed first.
Moreover they need to be invoked earlier than this extension.

The way to install this extension is by using [Composer][composer].
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": "~3.0"
"mediawiki/semantic-glossary": "~4.0"
}
}
```

(Alternatively you can download a tar ball or zip file from
[GitHub](https://github.com/SemanticMediaWiki/SemanticGlossary/releases/latest)
and extract it into the `extensions` directory of your MediaWiki installation.)

Then add the following line to your `LocalSettings.php`:
Then add the following line to your "LocalSettings.php" file:
```php
wfLoadExtension('SemanticGlossary');
wfLoadExtension( 'SemanticGlossary' );
```

It is *NOT* necessary to install the Lingo extension separately. Doing so will
result in errors.

## Contribution and support

If you want to contribute work to the project please subscribe to the developers mailing list and
have a look at the contribution guideline.

* Ask a question on [the mailing list](https://www.semantic-mediawiki.org/wiki/Mailing_list)
* Ask a question on the #semantic-mediawiki IRC channel on Freenode.

## Tests

Expand All @@ -61,6 +57,7 @@ but can also be executed using `composer phpunit` from the extension base direct
[license]: https://www.gnu.org/copyleft/gpl.html
[mw-semantic-glossary]: https://www.mediawiki.org/wiki/Extension:Semantic_Glossary
[mw-lingo]: https://www.mediawiki.org/wiki/Extension:Lingo
[smw]: https://www.mediawiki.org/wiki/Semantic_MediaWiki
[smw]: https://www.mediawiki.org/wiki/Extension:Semantic_MediaWiki
[lg]: https://www.mediawiki.org/wiki/Extension:Lingo
[composer]: https://getcomposer.org/
[travis]: https://travis-ci.org/SemanticMediaWiki/SemanticGlossary
[travis]: https://www.travis-ci.com/github/SemanticMediaWiki/SemanticGlossary
32 changes: 24 additions & 8 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,28 @@
This file contains the RELEASE-NOTES of the Semantic Glossary (a.k.a. SG) extension.

### 4.0.0

Released on 2021-07-09.

* New minimum required versions:
* PHP 7.1
* MediaWiki 1.31
* Semantic MediaWiki 3.1
* Lingo 3.1

* Compatibility with Semantic MediaWiki 3.1
* Compatibility with MediaWiki 1.35

* fixes for loading the Lingo dependency
* translation updates from translatewiki.net

### 3.0.0

Released on 2018-10-09.

* New minimum required versions:
* PHP 5.6
* MediaWiki 1.27
* PHP 5.6
* MediaWiki 1.27

* Compatibility with Semantic MediaWiki 3.0
* Compatibility with MediaWiki 1.31
Expand All @@ -17,9 +33,9 @@ Released on 2018-10-09.
Released on 2017-05-24.

* Requires Lingo 2.0.3 or above
* Fixed fatal error: Call to undefined function Lingo\string()
* [#24](https://github.com/SemanticMediaWiki/SemanticGlossary/issues/24) Fixed missing link icon
* [#25](https://github.com/SemanticMediaWiki/SemanticGlossary/issues/25) Fixed broken Special:Preferences
* Fixed fatal error: Call to undefined function Lingo\string()
* [#24](https://github.com/SemanticMediaWiki/SemanticGlossary/issues/24) Fixed missing link icon
* [#25](https://github.com/SemanticMediaWiki/SemanticGlossary/issues/25) Fixed broken Special:Preferences

### 2.1.0

Expand All @@ -40,9 +56,9 @@ Released on 2016-05-24.
Released on 2016-03-09.

* New minimum required versions:
* MediaWiki 1.26
* Semantic MediaWiki 2.3
* Lingo 2.0
* MediaWiki 1.26
* Semantic MediaWiki 2.3
* Lingo 2.0
* Use the new extension registration mechanism introduced in MediwWiki 1.25
* Rework registration of properties and MW hooks
* Use autoloader provided by Composer (PSR-4)
Expand Down
15 changes: 7 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"authors": [
{
"name": "Stephan Gambke",
"email": "[email protected]",
"role": "Developer"
},
{
Expand All @@ -25,24 +24,24 @@
}
],
"support": {
"email": "[email protected]",
"wiki": "https://www.mediawiki.org/wiki/Extension:Semantic_Glossary",
"forum": "https://www.mediawiki.org/wiki/Extension_talk:Semantic_Glossary",
"source": "https://github.com/SemanticMediaWiki/SemanticGlossary.git",
"issues": "https://github.com/SemanticMediaWiki/SemanticGlossary/issues",
"irc": "irc://irc.freenode.org/semantic-mediawiki"
"issues": "https://github.com/SemanticMediaWiki/SemanticGlossary/issues"
},
"require": {
"php": ">=5.5",
"php": ">=7.1",
"composer/installers":"^1.0.12",
"mediawiki/semantic-media-wiki": "^2.4|^3.0",
"mediawiki/lingo": "^2.0.3|^3.0"
"mediawiki/semantic-media-wiki": "^3.1|^3.2",
"mediawiki/lingo": "^3.1"
},
"require-dev": {
"phpunit/phpunit": "^6.5"
"phpunit/phpunit": "^8.5"
},
"extra": {
"branch-alias": {
"dev-master": "3.x-dev"
"dev-master": "4.x-dev"
}
},
"autoload": {
Expand Down
4 changes: 2 additions & 2 deletions extension.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Semantic Glossary",
"version": "3.0.0",
"version": "4.0.0",
"author": [
"[https://www.mediawiki.org/wiki/User:F.trott Stephan Gambke]",
"[https://www.semantic-mediawiki.org/wiki/User:MWJames James Hong Kong]",
Expand All @@ -11,7 +11,7 @@
"license-name": "GPL-2.0-or-later",
"type": "semantic",
"requires": {
"MediaWiki": "~1.27",
"MediaWiki": "~1.31",
"extensions": {
"Lingo": "*"
}
Expand Down

0 comments on commit 264f809

Please sign in to comment.