Index: trunk/extensions/SemanticMaps/SemanticMaps.php |
— | — | @@ -45,6 +45,10 @@ |
46 | 46 | die( '<b>Error:</b> This version of Semantic Maps requires Semantic MediaWiki 1.6 or above; use Semantic Maps 0.7.x for older versions.' ); |
47 | 47 | } |
48 | 48 | |
| 49 | +if ( version_compare( SMW_VERSION, '1.6.2 alpha', '<' ) ) { |
| 50 | + die( '<b>Error:</b> This version of Semantic Maps requires Semantic MediaWiki 1.6.3 or above; use Semantic Maps 1.0 to 1.0.3 for SMW 1.6 to 1.6.1.' ); |
| 51 | +} |
| 52 | + |
49 | 53 | define( 'SM_VERSION', '1.0.4 alpha' ); |
50 | 54 | |
51 | 55 | $wgExtensionCredits[defined( 'SEMANTIC_EXTENSION_TYPE' ) ? 'semantic' : 'other'][] = array( |