r64410 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64409‎ | r64410 | r64411 >
Date:22:29, 30 March 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Disabled OSM after failing to fix JS problem
Modified paths:
  • /trunk/extensions/Maps/Maps.php (modified) (history)
  • /trunk/extensions/Maps/Maps_Settings.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Maps/Maps.php
@@ -33,7 +33,7 @@
3434 echo '<b>Warning:</b> You need to have <a href="http://www.mediawiki.org/wiki/Extension:Validator">Validator</a> installed in order to use <a href="http://www.mediawiki.org/wiki/Extension:Maps">Maps</a>.';
3535 }
3636 else {
37 - define( 'Maps_VERSION', '0.6 a6' );
 37+ define( 'Maps_VERSION', '0.6 a7' );
3838
3939 // The different coordinate notations.
4040 define( 'Maps_COORDS_FLOAT', 'float' );
@@ -105,6 +105,9 @@
106106
107107 MapsMapper::initializeMainParams();
108108
 109+ // wfRunHooks( 'MappingFeatureLoad');
 110+ // wfRunHooks( 'MappingServiceLoad');
 111+
109112 // Loop through the available mapping features, load and initialize them.
110113 foreach ( $egMapsAvailableFeatures as $key => $values ) {
111114 // Load and optionally initizlize feature.
Index: trunk/extensions/Maps/Maps_Settings.php
@@ -68,7 +68,7 @@
6969 include_once $egMapsDir . 'GoogleMaps3/Maps_GoogleMaps3.php'; // Google Maps v3
7070 include_once $egMapsDir . 'OpenLayers/Maps_OpenLayers.php'; // OpenLayers
7171 include_once $egMapsDir . 'YahooMaps/Maps_YahooMaps.php'; // Yahoo! Maps
72 -include_once $egMapsDir . 'OpenStreetMap/Maps_OSM.php'; // OpenLayers optimized for OSM
 72+// include_once $egMapsDir . 'OpenStreetMap/Maps_OSM.php'; // OpenLayers optimized for OSM
7373
7474 # Array of String. Array containing all the mapping services that will be made available to the user.
7575 # Currently Maps provides the following services: googlemaps, yahoomaps, openlayers

Status & tagging log