|
11 | 11 | * @defgroup SIL Semantic Interlanguage Links |
12 | 12 | */ |
13 | 13 | 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.' ); |
15 | 15 | } |
16 | 16 |
|
17 | 17 | if ( defined( 'SIL_VERSION' ) ) { |
@@ -64,7 +64,7 @@ public static function load() { |
64 | 64 | */ |
65 | 65 | public static function initExtension() { |
66 | 66 |
|
67 | | - define( 'SIL_VERSION', '1.4.0-alpha' ); |
| 67 | + define( 'SIL_VERSION', '1.4.0' ); |
68 | 68 |
|
69 | 69 | // Register extension info |
70 | 70 | $GLOBALS[ 'wgExtensionCredits' ][ 'semantic' ][ ] = array( |
@@ -99,12 +99,12 @@ public static function onBeforeExtensionFunction() { |
99 | 99 | */ |
100 | 100 | public static function checkRequirements() { |
101 | 101 |
|
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.' ); |
104 | 104 | } |
105 | 105 |
|
106 | 106 | 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.' ); |
108 | 108 | } |
109 | 109 | } |
110 | 110 |
|
|
0 commit comments