Index: trunk/extensions/SemanticMaps/SemanticMaps.php |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | |
37 | 37 | // Only initialize the extension when all dependencies are present. |
38 | 38 | if (defined( 'Maps_VERSION' ) && defined( 'SMW_VERSION' )) { |
39 | | - define('SM_VERSION', '0.5'); |
| 39 | + define('SM_VERSION', '0.5.1'); |
40 | 40 | |
41 | 41 | $smgScriptPath = $wgScriptPath . '/extensions/SemanticMaps'; |
42 | 42 | $smgIP = $IP . '/extensions/SemanticMaps'; |
Index: trunk/extensions/SemanticMaps/QueryPrinters/SM_Mapper.php |
— | — | @@ -21,6 +21,7 @@ |
22 | 22 | global $egMapsDefaultServices, $egMapsServices; |
23 | 23 | |
24 | 24 | // TODO: allow service parameter to override the default |
| 25 | + // Note: if this is allowed, then the getParameters should only return the base parameters. |
25 | 26 | if ($format == 'map') $format = $egMapsDefaultServices['qp']; |
26 | 27 | |
27 | 28 | $service = MapsMapper::getValidService($format, 'qp'); |
— | — | @@ -52,4 +53,8 @@ |
53 | 54 | return $this->queryPrinter->getResultText($res, $outputmode); |
54 | 55 | } |
55 | 56 | |
| 57 | + public function getParameters() { |
| 58 | + return $this->queryPrinter->getParameters(); |
| 59 | + } |
| 60 | + |
56 | 61 | } |