r98039 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98038‎ | r98039 | r98040 >
Date:21:59, 24 September 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
tweak to compat checks
Modified paths:
  • /trunk/extensions/SemanticMaps/SemanticMaps.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMaps/SemanticMaps.php
@@ -45,6 +45,10 @@
4646 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.' );
4747 }
4848
 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+
4953 define( 'SM_VERSION', '1.0.4 alpha' );
5054
5155 $wgExtensionCredits[defined( 'SEMANTIC_EXTENSION_TYPE' ) ? 'semantic' : 'other'][] = array(