Skip to content

Commit e65a81b

Browse files
authored
Release version 2.0.0 (#42)
* Update README.md * Update RELEASE-NOTES.md * Update composer.json * Update extension.json
1 parent 88ccec7 commit e65a81b

File tree

4 files changed

+22
-7
lines changed

4 files changed

+22
-7
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Semantic Compound Queries (a.k.a. SCQ) is a [Semantic Mediawiki][smw] extension
1212

1313
- PHP 5.6 or later
1414
- MediaWiki 1.27 or later
15-
- [Semantic MediaWiki][smw] 2.5 or later
15+
- [Semantic MediaWiki][smw] 3.0 or later
1616

1717
## Installation
1818

@@ -37,15 +37,15 @@ If you do not have a "composer.local.json" file yet, create one and add the foll
3737
```
3838
{
3939
"require": {
40-
"mediawiki/semantic-compound-queries": "~1.2"
40+
"mediawiki/semantic-compound-queries": "~2.0"
4141
}
4242
}
4343
```
4444

4545
If you already have a "composer.local.json" file add the following line to the end of the "require"
4646
section in your file:
4747

48-
"mediawiki/semantic-compound-queries": "~1.2"
48+
"mediawiki/semantic-compound-queries": "~2.0"
4949

5050
Remember to add a comma to the end of the preceding line in this section.
5151

@@ -58,6 +58,12 @@ Run the following command in your shell:
5858
Note if you have Git installed on your system add the `--prefer-source` flag to the above command. Also
5959
note that it may be necessary to run this command twice. If unsure do it twice right away.
6060

61+
### Step 4
62+
63+
Add the following line to the end of your "LocalSettings.php" file:
64+
65+
wfLoadExtension( 'SemanticCompoundQueries' );
66+
6167
### Verify installation success
6268

6369
As final step, you can verify SCI got installed by looking at the "Special:Version" page on your wiki and

RELEASE-NOTES.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1-
These are the release notes for the Semantic Compound Queries extension.
1+
These are the RELEASE NOTES for the **Semantic Compound Queries** (a.k.a. SCQ) extension.
2+
3+
## Semantic Compound Queries 2.0.0
4+
5+
Released on January 29, 2019.
6+
7+
* Minimum requirement for Semantic MediaWiki changed to version 3.0 and later
8+
* #39 Adds support for extension registration via "extension.json"
9+
→ Now you have to use `wfLoadExtension( 'SemanticCompoundQueries' );` in the "LocalSettings.php" file to invoke the extension
10+
* Localization updates from https://translatewiki.net
211

312
## Semantic Compound Queries 1.2.0
413

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"require": {
2828
"php": ">=5.6",
2929
"composer/installers": "1.*,>=1.0.1",
30-
"mediawiki/semantic-media-wiki": "~2.5|~3.0"
30+
"mediawiki/semantic-media-wiki": "~3.0"
3131
},
3232
"require-dev": {
3333
"mediawiki/semantic-media-wiki": "@dev",

extension.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "SemanticCompoundQueries",
3-
"version": "2.0.0-alpha",
3+
"version": "2.0.0",
44
"author": [
55
"James Hong Kong",
66
"Yaron Koren",
@@ -23,6 +23,6 @@
2323
"ExtensionFunctions": [
2424
"SemanticCompoundQueries::onExtensionFunction"
2525
],
26-
"load_composer_autoloader":true,
26+
"load_composer_autoloader": true,
2727
"manifest_version": 1
2828
}

0 commit comments

Comments
 (0)