Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_MapPrinter.php |
— | — | @@ -105,7 +105,8 @@ |
106 | 106 | $params['centre']->setDoManipulationOfDefault( false ); |
107 | 107 | $manipulation = new MapsParamLocation(); |
108 | 108 | $manipulation->toJSONObj = true; |
109 | | - $params['centre']->addManipulations( $manipulation ); |
| 109 | + $params['centre']->addManipulations( $manipulation ); |
| 110 | + $params['centre']->setDescription( wfMsg( 'semanticmaps-par-centre' ) ); |
110 | 111 | |
111 | 112 | $params['icon'] = new Parameter( |
112 | 113 | 'icon', |
— | — | @@ -144,6 +145,7 @@ |
145 | 146 | ) |
146 | 147 | ); |
147 | 148 | $params['template']->setDoManipulationOfDefault( false ); |
| 149 | + $params['template']->setDescription( wfMsg( 'semanticmaps-par-template' ) ); |
148 | 150 | |
149 | 151 | $params['title'] = new Parameter( |
150 | 152 | 'title', |
Index: trunk/extensions/SemanticMaps/SemanticMaps.i18n.php |
— | — | @@ -49,6 +49,8 @@ |
50 | 50 | 'semanticmaps-par-staticlocations' => 'A list of locations to add to the map together with the queried data. Like with display_points, you can add a title, description and icon per location using the tilde "~" as separator.', |
51 | 51 | 'semanticmaps-par-forceshow' => 'Show the map even when there are no locations to display?', |
52 | 52 | 'semanticmaps-par-showtitle' => 'Show a title in the marker info window or not. Disabling this is often usefull when using a template to format the info window content.', |
| 53 | + 'semanticmaps-par-centre' => 'The centre of the map. When not provided, the map will automatically pick the optimal centre to display all markers on the map.', |
| 54 | + 'semanticmaps-par-template' => 'A template to use to format the info window contents with.' |
53 | 55 | ); |
54 | 56 | |
55 | 57 | /** Message documentation (Message documentation) |