r81424 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81423‎ | r81424 | r81425 >
Date:22:11, 2 February 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
small fix to script path
Modified paths:
  • /branches/SemanticMaps0.8/SemanticMaps.php (modified) (history)

Diff [purge]

Index: branches/SemanticMaps0.8/SemanticMaps.php
@@ -44,7 +44,7 @@
4545 if ( defined( 'Maps_VERSION' ) && defined( 'SMW_VERSION' ) ) {
4646 define( 'SM_VERSION', '0.8 alpha' );
4747
48 - $smgScriptPath = $wgExtensionAssetsPath . '/SemanticMaps';
 48+ $smgScriptPath = ( $wgExtensionAssetsPath === false ? '/extensions' : $wgExtensionAssetsPath ) . '/SemanticMaps';
4949 $smgDir = dirname( __FILE__ ) . '/';
5050
5151 $smgStyleVersion = $wgStyleVersion . '-' . SM_VERSION;

Status & tagging log