r74879 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74878‎ | r74879 | r74880 >
Date:04:48, 17 October 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Changes for 0.7.1 - namespace number fix
Modified paths:
  • /trunk/extensions/Maps/Maps_Settings.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Maps/Maps_Settings.php
@@ -223,7 +223,7 @@
224224 # Other general configuration
225225
226226 # Namespace index start of the mapping namespaces.
227 - $egMapsNamespaceIndex = 9001;
 227+ $egMapsNamespaceIndex = 420;
228228
229229
230230
@@ -378,7 +378,6 @@
379379 'osmarender',
380380 'osm-cyclemap',
381381 'osm-mapnik'
382 -
383382 );
384383
385384 # The difinitions for the layers that should be available for the user.
@@ -397,19 +396,6 @@
398397
399398 'nasa' => 'OpenLayers.Layer.WMS("NASA Global Mosaic", "http://t1.hypercube.telascience.org/cgi-bin/landsat7",
400399 {layers: "landsat7", "sphericalMercator":true} )',
401 -
402 - /* FIXME: does not work properly yet
403 - 'wikipediaworld' => 'OpenLayers.Layer.Vector("Wikipedia World", {
404 - strategies: [new OpenLayers.Strategy.BBOX( { ratio : 1.1, resFactor: 1 })],
405 - protocol: new OpenLayers.Protocol.HTTP({
406 - url: "http://toolserver.org/~kolossos/geoworld/marks.php?LANG=de",
407 - format: new OpenLayers.Format.KML({
408 - extractStyles: true,
409 - extractAttributes: true
410 - })
411 - })
412 - })'
413 - */
414400 );
415401
416402 # Layer group definitions. Group names must be different from layer names, and

Status & tagging log