Skip to content

Commit 483d757

Browse files
kghblnmwjames
authored andcommitted
1.4.0 release (#52)
1 parent 37b3e55 commit 483d757

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

RELEASE-NOTES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ This file contains the RELEASE-NOTES of the Semantic Interlanguage Links (a.k.a.
44

55
Released on July 29, 2017.
66

7-
* #50 Added the `annotatedlanguage` parser function
87
* Minimum requirement for
98
* PHP changed to version 5.5 and later
109
* Semantic MediaWiki changed to version 2.4 and later
1110
* MediaWiki changed to version 1.27 and later
1211
* Fixed "Call to a member function getPrefixedText on null"
12+
* #50 Added the `annotatedlanguage` parser function
1313
* #44 Always to return lowercase language code
1414
* Localization updates from https://translatewiki.net
1515

@@ -25,6 +25,7 @@ Released on July 9, 2016.
2525
* #37 Added check whether `LanguageLinkAnnotator` can actually add annotations
2626
* #35 Added `InMemoryLruCache` to `PageContentLanguageOnTheFlyModifier`
2727
* #33 Fixed language code in `Special:Search` to conform with IETF (ISO 639, BCP 47) norm
28+
* Localization updates from https://translatewiki.net
2829

2930
### 1.2.0
3031

SemanticInterlanguageLinks.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* @defgroup SIL Semantic Interlanguage Links
1212
*/
1313
if ( !defined( 'MEDIAWIKI' ) ) {
14-
die( 'This file is part of the SemanticInterlanguageLinks extension, it is not a valid entry point.' );
14+
die( 'This file is part of the Semantic Interlanguage Links extension. It is not a valid entry point.' );
1515
}
1616

1717
if ( defined( 'SIL_VERSION' ) ) {
@@ -64,7 +64,7 @@ public static function load() {
6464
*/
6565
public static function initExtension() {
6666

67-
define( 'SIL_VERSION', '1.4.0-alpha' );
67+
define( 'SIL_VERSION', '1.4.0' );
6868

6969
// Register extension info
7070
$GLOBALS[ 'wgExtensionCredits' ][ 'semantic' ][ ] = array(
@@ -99,12 +99,12 @@ public static function onBeforeExtensionFunction() {
9999
*/
100100
public static function checkRequirements() {
101101

102-
if ( version_compare( $GLOBALS[ 'wgVersion' ], '1.23', 'lt' ) ) {
103-
die( '<b>Error:</b> This version of <a href="https://github.com/SemanticMediaWiki/SemanticInterlanguageLinks/">Semantic InterlanguageLinks</a> is only compatible with MediaWiki 1.23 or above. You need to upgrade MediaWiki first.' );
102+
if ( version_compare( $GLOBALS[ 'wgVersion' ], '1.27', 'lt' ) ) {
103+
die( '<b>Error:</b> This version of <a href="https://github.com/SemanticMediaWiki/SemanticInterlanguageLinks/">Semantic Interlanguage Links</a> is only compatible with MediaWiki 1.27 or above. You need to upgrade MediaWiki first.' );
104104
}
105105

106106
if ( !defined( 'SMW_VERSION' ) ) {
107-
die( '<b>Error:</b> <a href="https://github.com/SemanticMediaWiki/SemanticInterlanguageLinks/">Semantic InterlanguageLinks</a> requires <a href="https://github.com/SemanticMediaWiki/SemanticMediaWiki/">Semantic MediaWiki</a>, please enable or install the extension first.' );
107+
die( '<b>Error:</b> <a href="https://github.com/SemanticMediaWiki/SemanticInterlanguageLinks/">Semantic Interlanguage Links</a> requires <a href="https://github.com/SemanticMediaWiki/SemanticMediaWiki/">Semantic MediaWiki</a>. Please enable or install the extension first.' );
108108
}
109109
}
110110

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"php": ">=5.3.0",
3030
"composer/installers": "1.*,>=1.0.1",
3131
"onoi/cache": "~1.2",
32-
"mediawiki/semantic-media-wiki": "~2.4|~3.0"
32+
"mediawiki/semantic-media-wiki": "~2.4"
3333
},
3434
"require-dev": {
3535
"mediawiki/semantic-media-wiki": "@dev"

0 commit comments

Comments
 (0)