r74991 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74990‎ | r74991 | r74992 >
Date:01:28, 19 October 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Revert of previous change that was breaking stuff
Modified paths:
  • /trunk/extensions/Maps/includes/services/OpenLayers/Maps_OpenLayers.php (modified) (history)
  • /trunk/extensions/Maps/includes/services/OpenLayers/OpenLayerFunctions.js (modified) (history)

Diff [purge]

Index: trunk/extensions/Maps/includes/services/OpenLayers/OpenLayerFunctions.js
@@ -23,7 +23,7 @@
2424 break;
2525 }
2626 }
27 -
 27+
2828 // Create a new OpenLayers map with without any controls on it.
2929 var mapOptions = {
3030 controls: []
Index: trunk/extensions/Maps/includes/services/OpenLayers/Maps_OpenLayers.php
@@ -87,7 +87,7 @@
8888 $defaultGroup = wfMsg( 'maps-markers' );
8989 //.// TODO
9090 foreach ( $markers as $marker ) {
91 - $markerItems[false ? $marker[5] : $defaultGroup] = MapsMapper::encodeJsVar( (object)array(
 91+ $markerItems[] = MapsMapper::encodeJsVar( (object)array(
9292 'lat' => $marker[0],
9393 'lon' => $marker[1],
9494 'title' => $marker[2],

Status & tagging log