Skip to content

Commit

Permalink
Release version 2.0.0 (#72)
Browse files Browse the repository at this point in the history
* Update RELEASE-NOTES.md
** Provide release notes for the release

* Update README.md
** Update software requirements
** Update installation instructions
** Remove IRC note

* Update composer.json
** Update software requirements

* Update extension.json
** Increment version
** Update and extend requirements
** Increment manifest version
  • Loading branch information
kghbln authored Sep 4, 2019
1 parent e4c9044 commit 6851035
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 28 deletions.
39 changes: 16 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
[![Latest Stable Version](https://poser.pugx.org/mediawiki/semantic-interlanguage-links/version.png)](https://packagist.org/packages/mediawiki/semantic-interlanguage-links)
[![Packagist download count](https://poser.pugx.org/mediawiki/semantic-interlanguage-links/d/total.png)](https://packagist.org/packages/mediawiki/semantic-interlanguage-links)

Semantic Interlanguage Links (a.k.a. SIL) is a [Semantic Mediawiki][smw] extension to
create and manage interlanguage links.
Semantic Interlanguage Links (a.k.a. SIL) is a [Semantic Mediawiki][smw] extension to create and manage
interlanguage links.

This extension helps to create interlanguage links and provides queryable annotations that:

Expand All @@ -22,9 +22,9 @@ This [video](https://vimeo.com/115871518) demonstrates the functionality of the

## 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

## Installation

Expand All @@ -36,44 +36,38 @@ 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-interlanguage-links": "~1.5"
"mediawiki/semantic-interlanguage-links": "~2.0"
}
}
```

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-interlanguage-links": "~1.5"
"mediawiki/semantic-interlanguage-links": "~2.0"

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:

php composer.phar update --no-dev

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.
Note if you have Git installed on your system add the `--prefer-source` flag to the above command.

### Step 3

Add the following line to the end of your "LocalSettings.php" file:

### Verify installation success
wfLoadExtension( 'SemanticInterlanguageLinks' );

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

Expand All @@ -95,7 +89,6 @@ If you want to contribute work to the project please subscribe to the developers
* [File an issue](https://github.com/SemanticMediaWiki/SemanticLanguageLinks/issues)
* [Submit a pull request](https://github.com/SemanticMediaWiki/SemanticLanguageLinks/pulls)
* 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 Down
13 changes: 13 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
This file contains the RELEASE-NOTES of the Semantic Interlanguage Links (a.k.a. SIL) extension.

### 2.0.0

Released on September 4, 2019.

* Minimum requirement for
* PHP changed to version 7.0 and later
* MediaWiki changed to version 1.31.0 and later
* Semantic MediaWiki changed to version 3.0 and later
* #71 Adds support for extension registration via "extension.json"
→ Now you have to use `wfLoadExtension( 'SemanticInterlanguageLinks' );` in the "LocalSettings.php" file to invoke the extension
* Localization updates from https://translatewiki.net


### 1.5.0

Released on October 8, 2018.
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
"source": "https://github.com/SemanticMediaWiki/SemanticInterlanguageLinks"
},
"require": {
"php": ">=5.6.0",
"php": ">=7.0",
"composer/installers": "1.*,>=1.0.1",
"onoi/cache": "~1.2",
"mediawiki/semantic-media-wiki": "~2.5|~3.0"
"mediawiki/semantic-media-wiki": "~3.0"
},
"require-dev": {
"mediawiki/semantic-media-wiki": "@dev"
Expand Down
9 changes: 6 additions & 3 deletions extension.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "SemanticInterlanguageLinks",
"version": "2.0.0-alpha",
"version": "2.0.0",
"author": [
"James Hong Kong",
"..."
Expand All @@ -11,7 +11,10 @@
"license-name": "GPL-2.0-or-later",
"type": "semantic",
"requires": {
"MediaWiki": ">= 1.27"
"MediaWiki": ">= 1.31",
"extensions": {
"SemanticMediaWiki": ">= 3.0"
}
},
"MessagesDirs": {
"SemanticInterlanguageLinks": [
Expand All @@ -23,5 +26,5 @@
"SemanticInterlanguageLinks::onExtensionFunction"
],
"load_composer_autoloader": true,
"manifest_version": 1
"manifest_version": 2
}

0 comments on commit 6851035

Please sign in to comment.