Skip to content

Commit

Permalink
Make version 2.1.0 (#80)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
kghbln authored Aug 18, 2019
1 parent 25902b7 commit 766a7ac
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 30 deletions.
36 changes: 12 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<ref>`)
as a means to declare a citation resource.
Semantic Cite **does not require** nor uses any part of [`Cite`][mw-cite] (or `<ref>`) as a means to declare
a citation resource.

## Installation

Expand All @@ -40,32 +40,25 @@ 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"
}
}
```

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:

Expand All @@ -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)
Expand Down
14 changes: 13 additions & 1 deletion RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
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": "SemanticCite",
"version": "2.1.0-alpha",
"version": "2.1.0",
"author": [
"James Hong Kong"
],
Expand All @@ -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": [
Expand All @@ -22,5 +25,5 @@
"SemanticCite::onExtensionFunction"
],
"load_composer_autoloader": true,
"manifest_version": 1
"manifest_version": 2
}

0 comments on commit 766a7ac

Please sign in to comment.