Index: trunk/extensions/Maps/Maps.php |
— | — | @@ -30,7 +30,7 @@ |
31 | 31 | |
32 | 32 | // Only initialize the extension when all dependencies are present. |
33 | 33 | if (defined( 'Validator_VERSION' )) { |
34 | | - define('Maps_VERSION', '0.5 a19'); |
| 34 | + define('Maps_VERSION', '0.5 a20'); |
35 | 35 | |
36 | 36 | $egMapsScriptPath = $wgScriptPath . '/extensions/Maps'; |
37 | 37 | $egMapsIP = $IP . '/extensions/Maps'; |
Index: trunk/extensions/Maps/Maps_MapFeature.php |
— | — | @@ -97,13 +97,12 @@ |
98 | 98 | * @param string $className |
99 | 99 | */ |
100 | 100 | private function setMapProperties(array $mapProperties, $className) { |
101 | | - //var_dump($mapProperties); exit; |
102 | 101 | foreach($mapProperties as $paramName => $paramValue) { |
103 | 102 | if (! property_exists($className, $paramName)) { |
104 | 103 | $this->{$paramName} = $paramValue; |
105 | 104 | } |
106 | 105 | else { |
107 | | - throw new Exception('Attempt to override a class field during map propertie assignment. Field name: ' . $paramName); |
| 106 | + throw new Exception('Attempt to override a class field during map property assignment. Field name: ' . $paramName); |
108 | 107 | } |
109 | 108 | } |
110 | 109 | } |
Index: trunk/extensions/Maps/Maps_Utils.php |
— | — | @@ -16,6 +16,8 @@ |
17 | 17 | die ( 'Not an entry point.' ); |
18 | 18 | } |
19 | 19 | |
| 20 | +// TODO: merge with parding done in the geo coord type located in SM. |
| 21 | + |
20 | 22 | class MapsUtils { |
21 | 23 | |
22 | 24 | /* |