Skip to content

Commit 723cb7d

Browse files
authored
1.1.0 release (#45)
* Update RELEASE-NOTES.md ** Provides information about the 1.1.0 release * Update README.md ** Update for the 1.1.0 release * Update composer.json ** Since we are not absolutely sure if breaking changes will appear in SMW 3.0 * Update SemanticScribunto.php ** Bumps version ** Tweaks sysop notifications
1 parent 5407a55 commit 723cb7d

File tree

4 files changed

+23
-13
lines changed

4 files changed

+23
-13
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ Semantic Scribunto (a.k.a. SSC) is a [Semantic Mediawiki][smw] extension to prov
1717

1818
## Installation
1919

20-
The recommended way to install Semantic Scribunto is by using [Composer][composer] with:
20+
The recommended way to install Semantic Scribunto is by using [Composer][composer] with an entry in MediaWiki's "composer.json" or preferably "composer.local.json" file:
2121

2222
```json
2323
{
2424
"require": {
25-
"mediawiki/semantic-scribunto": "~1.0"
25+
"mediawiki/semantic-scribunto": "~1.1"
2626
}
2727
}
2828
```
2929
1. From your MediaWiki installation directory, execute
30-
`composer require mediawiki/semantic-scribunto:~1.0`
30+
`composer require mediawiki/semantic-scribunto:~1.1`
3131
2. Navigate to _Special:Version_ on your wiki and verify that the package
3232
have been successfully installed.
3333

RELEASE-NOTES.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
11
This file contains the RELEASE-NOTES of the Semantic Scribunto (a.k.a. SSC) extension.
22

3+
### 1.1.0
4+
5+
Released on January 13, 2018.
6+
7+
* Minimum requirement for MediaWiki changed to version 1.27 and later
8+
* Minimum requirement for Semantic MediaWiki changed to version 2.4 and later
9+
* #43 Fixes issue with `mw.smw.ask` returning always "false" on printouts for category membership (by Tobias Oetterer)
10+
* Adds `Query::PROC_CONTEXT` (by James Hong Kong)
11+
* Localization updates from https://translatewiki.net
12+
313
### 1.0.0
414

515
Released on January 23, 2017.
616

717
* Initial release
818
* Added the `mw.smw.lua` library with support for:
9-
* `smw.ask` to execute `#ask` queries (Tobias Oetterer)
19+
* `smw.ask` to execute `#ask` queries (by Tobias Oetterer)
1020
* `smw.getQueryResult` to execute `#ask` queries
1121
* `smw.getPropertyType` to get the type of a property
12-
* `smw.info` to output tooltips equivalent to `#info` (Tobias Oetterer)
13-
* `smw.set` to store data to the SMW store equivalent to `#set` (Tobias Oetterer)
14-
* `smw.subobject` to store data to the SMW store equivalent to `#subobject` (Tobias Oetterer)
22+
* `smw.info` to output tooltips equivalent to `#info` (by Tobias Oetterer)
23+
* `smw.set` to store data to the SMW store equivalent to `#set` (by Tobias Oetterer)
24+
* `smw.subobject` to store data to the SMW store equivalent to `#subobject` (by Tobias Oetterer)

SemanticScribunto.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @defgroup SemanticScribunto Semantic Scribunto
99
*/
1010
if ( !defined( 'MEDIAWIKI' ) ) {
11-
die( 'This file is part of the Semantic Scribunto extension, it is not a valid entry point.' );
11+
die( 'This file is part of the Semantic Scribunto extension. It is not a valid entry point.' );
1212
}
1313

1414
if ( defined( 'SMW_SCRIBUNTO_VERSION' ) ) {
@@ -50,7 +50,7 @@ public static function load() {
5050
*/
5151
public static function initExtension() {
5252

53-
define( 'SMW_SCRIBUNTO_VERSION', '1.1.0-alpha' );
53+
define( 'SMW_SCRIBUNTO_VERSION', '1.1.0' );
5454

5555
// Register extension info
5656
$GLOBALS['wgExtensionCredits']['semantic'][] = [
@@ -63,7 +63,7 @@ public static function initExtension() {
6363
'url' => 'https://github.com/SemanticMediaWiki/SemanticScribunto/',
6464
'descriptionmsg' => 'smw-scribunto-desc',
6565
'version' => SMW_SCRIBUNTO_VERSION,
66-
'license-name' => 'GPL-2.0-or-later',
66+
'license-name' => 'GPL-2.0-or-later'
6767
];
6868

6969
// Register message files
@@ -81,11 +81,11 @@ public static function doCheckRequirements() {
8181

8282
// Using the constant as indicator to avoid class_exists
8383
if ( !defined( 'CONTENT_MODEL_SCRIBUNTO' ) ) {
84-
die( '<b>Error:</b> <a href="https://github.com/SemanticMediaWiki/SemanticScribunto/">Semantic Scribunto</a> requires <a href="https://www.mediawiki.org/wiki/Extension:Scribunto">Scribunto</a>, please enable or install the extension first.' );
84+
die( '<b>Error:</b> <a href="https://github.com/SemanticMediaWiki/SemanticScribunto/">Semantic Scribunto</a> requires <a href="https://www.mediawiki.org/wiki/Extension:Scribunto">Scribunto</a>. Please enable or install the extension first.' );
8585
}
8686

8787
if ( !defined( 'SMW_VERSION' ) ) {
88-
die( '<b>Error:</b> <a href="https://github.com/SemanticMediaWiki/SemanticScribunto/">Semantic Scribunto</a> requires <a href="https://github.com/SemanticMediaWiki/SemanticMediaWiki/">Semantic MediaWiki</a>, please enable or install the extension first.' );
88+
die( '<b>Error:</b> <a href="https://github.com/SemanticMediaWiki/SemanticScribunto/">Semantic Scribunto</a> requires <a href="https://github.com/SemanticMediaWiki/SemanticMediaWiki/">Semantic MediaWiki</a>. Please enable or install the extension first.' );
8989
}
9090
}
9191

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"require": {
3434
"php": ">=5.5",
3535
"composer/installers": "1.*,>=1.0.1",
36-
"mediawiki/semantic-media-wiki": "~2.4|~3.0"
36+
"mediawiki/semantic-media-wiki": "~2.4"
3737
},
3838
"require-dev": {
3939
"mediawiki/semantic-media-wiki": "@dev",

0 commit comments

Comments
 (0)