http://www.mediawiki.org/wiki/Special:Code/MediaWiki/98039

Revision: 98039
Author:   jeroendedauw
Date:     2011-09-24 21:59:05 +0000 (Sat, 24 Sep 2011)
Log Message:
-----------
tweak to compat checks

Modified Paths:
--------------
    trunk/extensions/SemanticMaps/SemanticMaps.php

Modified: trunk/extensions/SemanticMaps/SemanticMaps.php
===================================================================
--- trunk/extensions/SemanticMaps/SemanticMaps.php      2011-09-24 21:58:43 UTC 
(rev 98038)
+++ trunk/extensions/SemanticMaps/SemanticMaps.php      2011-09-24 21:59:05 UTC 
(rev 98039)
@@ -45,6 +45,10 @@
        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.' );
 }
 
+if ( version_compare( SMW_VERSION, '1.6.2 alpha', '<' ) ) {
+       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.' 
);
+}
+
 define( 'SM_VERSION', '1.0.4 alpha' );
 
 $wgExtensionCredits[defined( 'SEMANTIC_EXTENSION_TYPE' ) ? 'semantic' : 
'other'][] = array(


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to