http://www.mediawiki.org/wiki/Special:Code/MediaWiki/81419
Revision: 81419 Author: jeroendedauw Date: 2011-02-02 21:36:05 +0000 (Wed, 02 Feb 2011) Log Message: ----------- Fixed version check fail Modified Paths: -------------- trunk/extensions/SemanticMaps/SemanticMaps.php Modified: trunk/extensions/SemanticMaps/SemanticMaps.php =================================================================== --- trunk/extensions/SemanticMaps/SemanticMaps.php 2011-02-02 21:35:52 UTC (rev 81418) +++ trunk/extensions/SemanticMaps/SemanticMaps.php 2011-02-02 21:36:05 UTC (rev 81419) @@ -38,7 +38,7 @@ // Only initialize the extension when all dependencies are present. if ( defined( 'Maps_VERSION' ) && defined( 'SMW_VERSION' ) ) { - define( 'SM_VERSION', '0.7.4' ); + define( 'SM_VERSION', '0.7.5 alpha' ); $useExtensionPath = version_compare( $wgVersion, '1.16', '>=' ) && isset( $wgExtensionAssetsPath ) && $wgExtensionAssetsPath; $smgScriptPath = ( $useExtensionPath ? $wgExtensionAssetsPath : $wgScriptPath . '/extensions' ) . '/SemanticMaps'; @@ -99,8 +99,7 @@ $servicesList = $wgLang->listToText( $services ); // This function has been deprecated in 1.16, but needed for earlier versions. - // It's present in 1.16 as a stub, but lets check if it exists in case it gets removed at some point. - if ( version_compare( $wgVersion, '1.15', '<=' ) ) { + if ( version_compare( $wgVersion, '1.16', '<' ) ) { wfLoadExtensionMessages( 'SemanticMaps' ); } _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs