Index: trunk/extensions/Maps/Services/GoogleMaps3/Maps_GoogleMaps3.php |
— | — | @@ -107,7 +107,7 @@ |
108 | 108 | $markerItems = array(); |
109 | 109 | |
110 | 110 | foreach ( $markers as $marker ) { |
111 | | - $markerItems[] = Xml::encodeJsVar( array( |
| 111 | + $markerItems[] = Xml::encodeJsVar( (object)array( |
112 | 112 | 'lat' => $marker[0], |
113 | 113 | 'lon' => $marker[1], |
114 | 114 | 'title' => $marker[2], |
Index: trunk/extensions/Maps/Services/YahooMaps/Maps_YahooMaps.php |
— | — | @@ -126,7 +126,7 @@ |
127 | 127 | $markerItems = array(); |
128 | 128 | |
129 | 129 | foreach ( $markers as $marker ) { |
130 | | - $markerItems[] = Xml::encodeJsVar( array( |
| 130 | + $markerItems[] = Xml::encodeJsVar( (object)array( |
131 | 131 | 'lat' => $marker[0], |
132 | 132 | 'lon' => $marker[1], |
133 | 133 | 'title' => $marker[2], |
Index: trunk/extensions/Maps/Services/OpenLayers/Maps_OpenLayers.php |
— | — | @@ -110,7 +110,7 @@ |
111 | 111 | $markerItems = array(); |
112 | 112 | |
113 | 113 | foreach ( $markers as $marker ) { |
114 | | - $markerItems[] = Xml::encodeJsVar( array( |
| 114 | + $markerItems[] = Xml::encodeJsVar( (object)array( |
115 | 115 | 'lat' => $marker[0], |
116 | 116 | 'lon' => $marker[1], |
117 | 117 | 'title' => $marker[2], |
Index: trunk/extensions/Maps/Services/GoogleMaps/Maps_GoogleMaps.php |
— | — | @@ -128,7 +128,7 @@ |
129 | 129 | $markerItems = array(); |
130 | 130 | |
131 | 131 | foreach ( $markers as $marker ) { |
132 | | - $markerItems[] = Xml::encodeJsVar( array( |
| 132 | + $markerItems[] = Xml::encodeJsVar( (object)array( |
133 | 133 | 'lat' => $marker[0], |
134 | 134 | 'lon' => $marker[1], |
135 | 135 | 'title' => $marker[2], |
Index: trunk/extensions/Maps/Maps.php |
— | — | @@ -33,7 +33,7 @@ |
34 | 34 | 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>.'; |
35 | 35 | } |
36 | 36 | else { |
37 | | - define( 'Maps_VERSION', '0.6.5 rc1' ); |
| 37 | + define( 'Maps_VERSION', '0.6.5 a11' ); |
38 | 38 | |
39 | 39 | // The different coordinate notations. |
40 | 40 | define( 'Maps_COORDS_FLOAT', 'float' ); |